Interface UpdateSnapshotScheduleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSnapshotScheduleRequest.Builder,UpdateSnapshotScheduleRequest>,SdkBuilder<UpdateSnapshotScheduleRequest.Builder,UpdateSnapshotScheduleRequest>,SdkPojo,SdkRequest.Builder,StorageGatewayRequest.Builder
- Enclosing class:
- UpdateSnapshotScheduleRequest
public static interface UpdateSnapshotScheduleRequest.Builder extends StorageGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateSnapshotScheduleRequest.Builder,UpdateSnapshotScheduleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateSnapshotScheduleRequest.Builderdescription(String description)Optional description of the snapshot that overwrites the existing description.UpdateSnapshotScheduleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateSnapshotScheduleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateSnapshotScheduleRequest.BuilderrecurrenceInHours(Integer recurrenceInHours)Frequency of snapshots.UpdateSnapshotScheduleRequest.BuilderstartAt(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.Buildertags(Collection<Tag> tags)A list of up to 50 tags that can be assigned to a snapshot.UpdateSnapshotScheduleRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of up to 50 tags that can be assigned to a snapshot.UpdateSnapshotScheduleRequest.Buildertags(Tag... tags)A list of up to 50 tags that can be assigned to a snapshot.UpdateSnapshotScheduleRequest.BuildervolumeARN(String volumeARN)The Amazon Resource Name (ARN) of the volume.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayRequest.Builder
build
-
-
-
-
Method Detail
-
volumeARN
UpdateSnapshotScheduleRequest.Builder volumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.
- Parameters:
volumeARN- The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startAt
UpdateSnapshotScheduleRequest.Builder startAt(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrenceInHours
UpdateSnapshotScheduleRequest.Builder recurrenceInHours(Integer recurrenceInHours)
Frequency of snapshots. Specify the number of hours between snapshots.
- Parameters:
recurrenceInHours- Frequency of snapshots. Specify the number of hours between snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateSnapshotScheduleRequest.Builder description(String description)
Optional description of the snapshot that overwrites the existing description.
- Parameters:
description- Optional description of the snapshot that overwrites the existing description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
UpdateSnapshotScheduleRequest.Builder tags(Collection<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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
UpdateSnapshotScheduleRequest.Builder tags(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
UpdateSnapshotScheduleRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of up to 50 tags that can be assigned to a snapshot. Each tag is a key-value pair.
This is a convenience method that creates an instance of theValid 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.
Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
UpdateSnapshotScheduleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateSnapshotScheduleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-