Interface DescribeSnapshotScheduleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSnapshotScheduleResponse.Builder,,DescribeSnapshotScheduleResponse> SdkBuilder<DescribeSnapshotScheduleResponse.Builder,,DescribeSnapshotScheduleResponse> SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
DescribeSnapshotScheduleResponse
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The snapshot description.recurrenceInHours(Integer recurrenceInHours) The number of hours between snapshots.The hour of the day at which the snapshot schedule begins represented as hh, where hh is the hour (0 to 23).tags(Collection<Tag> tags) A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.tags(Consumer<Tag.Builder>... tags) A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.A value that indicates the time zone of the gateway.The Amazon Resource Name (ARN) of the volume that was specified in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
volumeARN
The Amazon Resource Name (ARN) of the volume that was specified in the request.
- Parameters:
volumeARN- The Amazon Resource Name (ARN) of the volume that was specified in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The number of hours between snapshots.
- Parameters:
recurrenceInHours- The number of hours between snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The snapshot description.
- Parameters:
description- The snapshot description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timezone
A value that indicates the time zone of the gateway.
- Parameters:
timezone- A value that indicates the time zone of the gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResourceAPI operation.- Parameters:
tags- A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using theListTagsForResourceAPI operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
ListTagsForResourceAPI operation.- Parameters:
tags- A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using theListTagsForResourceAPI operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name. Each tag is a key-value pair. For a gateway with more than 10 tags assigned, you can view all tags using the
This is a convenience method that creates an instance of theListTagsForResourceAPI operation.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- 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:
-