@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 between snapshots.
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Integer interval()
The interval between snapshots. The supported values are 2, 3, 4, 6, 8, 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().
IntervalUnitValuespublic 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().
IntervalUnitValuespublic List<String> times()
The time, in UTC, to start the operation. The supported format is hh:mm.
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()
toBuilder in interface ToCopyableBuilder<CreateRule.Builder,CreateRule>public static CreateRule.Builder builder()
public static Class<? extends CreateRule.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.