@Generated(value="software.amazon.awssdk:codegen") public final class CreateRule extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateRule.Builder,CreateRule>
Specifies when to create snapshots of EBS volumes.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateRule.Builder |
Modifier and Type | Method and Description |
---|---|
static CreateRule.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
interval()
The interval.
|
IntervalUnitValues |
intervalUnit()
The interval unit.
|
String |
intervalUnitAsString()
The interval unit.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateRule.Builder> |
serializableBuilderClass() |
List<String> |
times()
The time, in UTC, to start the operation.
|
CreateRule.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public Integer interval()
The interval. The supported values are 12 and 24.
public IntervalUnitValues intervalUnit()
The interval unit.
If the service returns an enum value that is not available in the current SDK version, intervalUnit
will
return IntervalUnitValues.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
intervalUnitAsString()
.
IntervalUnitValues
public String intervalUnitAsString()
The interval unit.
If the service returns an enum value that is not available in the current SDK version, intervalUnit
will
return IntervalUnitValues.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
intervalUnitAsString()
.
IntervalUnitValues
public List<String> times()
The time, in UTC, to start the operation.
The operation occurs within a one-hour window following the specified time.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
The operation occurs within a one-hour window following the specified time.
public CreateRule.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateRule.Builder,CreateRule>
public static CreateRule.Builder builder()
public static Class<? extends CreateRule.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.