@Generated(value="software.amazon.awssdk:codegen") public class Subscription extends Object implements StructuredPojo, ToCopyableBuilder<Subscription.Builder,Subscription>
Information about the AWS Shield Advanced subscription for an account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Subscription.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Subscription.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends Subscription.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start time of the subscription, in the format "2016-12-16T13:50Z".
|
Long |
timeCommitmentInSeconds()
The length, in seconds, of the AWS Shield Advanced subscription for the account.
|
Subscription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic Instant startTime()
The start time of the subscription, in the format "2016-12-16T13:50Z".
public Long timeCommitmentInSeconds()
The length, in seconds, of the AWS Shield Advanced subscription for the account.
public Subscription.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Subscription.Builder,Subscription>public static Subscription.Builder builder()
public static Class<? extends Subscription.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.