@Generated(value="software.amazon.awssdk:codegen") public final class Validity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Validity.Builder,Validity>
Length of time for which the certificate issued by your private certificate authority (CA), or by the private CA itself, is valid in days, months, or years. You can issue a certificate by calling the IssueCertificate operation.
Modifier and Type | Class and Description |
---|---|
static interface |
Validity.Builder |
Modifier and Type | Method and Description |
---|---|
static Validity.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Validity.Builder> |
serializableBuilderClass() |
Validity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
ValidityPeriodType |
type()
Specifies whether the
Value parameter represents days, months, or years. |
String |
typeAsString()
Specifies whether the
Value parameter represents days, months, or years. |
Long |
value()
Time period.
|
copy
public Long value()
Time period.
public ValidityPeriodType type()
Specifies whether the Value
parameter represents days, months, or years.
If the service returns an enum value that is not available in the current SDK version, type
will return
ValidityPeriodType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
Value
parameter represents days, months, or years.ValidityPeriodType
public String typeAsString()
Specifies whether the Value
parameter represents days, months, or years.
If the service returns an enum value that is not available in the current SDK version, type
will return
ValidityPeriodType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
Value
parameter represents days, months, or years.ValidityPeriodType
public Validity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Validity.Builder,Validity>
public static Validity.Builder builder()
public static Class<? extends Validity.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.