@Generated(value="software.amazon.awssdk:codegen") public class UpdateSnapshotScheduleRequest extends StorageGatewayRequest implements ToCopyableBuilder<UpdateSnapshotScheduleRequest.Builder,UpdateSnapshotScheduleRequest>
A JSON object containing one or more of the following fields:
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateSnapshotScheduleRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static UpdateSnapshotScheduleRequest.Builder |
builder() |
String |
description()
Optional description of the snapshot that overwrites the existing description.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
Integer |
recurrenceInHours()
Frequency of snapshots.
|
static Class<? extends UpdateSnapshotScheduleRequest.Builder> |
serializableBuilderClass() |
Integer |
startAt()
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour
(0 to 23).
|
UpdateSnapshotScheduleRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
volumeARN()
The Amazon Resource Name (ARN) of the volume.
|
requestOverrideConfig
copy
public String volumeARN()
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
public Integer startAt()
The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
public Integer recurrenceInHours()
Frequency of snapshots. Specify the number of hours between snapshots.
public String description()
Optional description of the snapshot that overwrites the existing description.
public UpdateSnapshotScheduleRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateSnapshotScheduleRequest.Builder,UpdateSnapshotScheduleRequest>
toBuilder
in class StorageGatewayRequest
public static UpdateSnapshotScheduleRequest.Builder builder()
public static Class<? extends UpdateSnapshotScheduleRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.