@Generated(value="software.amazon.awssdk:codegen") public final 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
Integer |
recurrenceInHours()
Frequency of snapshots.
|
List<SdkField<?>> |
sdkFields() |
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).
|
List<Tag> |
tags()
A list of up to 50 tags that can be assigned to a snapshot.
|
UpdateSnapshotScheduleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
volumeARN()
The Amazon Resource Name (ARN) of the volume.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String volumeARN()
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
public final 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 final Integer recurrenceInHours()
Frequency of snapshots. Specify the number of hours between snapshots.
public final String description()
Optional description of the snapshot that overwrites the existing description.
public final boolean hasTags()
public final List<Tag> tags()
A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value pair.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
public UpdateSnapshotScheduleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateSnapshotScheduleRequest.Builder,UpdateSnapshotScheduleRequest>toBuilder in class StorageGatewayRequestpublic static UpdateSnapshotScheduleRequest.Builder builder()
public static Class<? extends UpdateSnapshotScheduleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.