Interface DescribeSnapshotScheduleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSnapshotScheduleResponse.Builder,DescribeSnapshotScheduleResponse>,SdkBuilder<DescribeSnapshotScheduleResponse.Builder,DescribeSnapshotScheduleResponse>,SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
- DescribeSnapshotScheduleResponse
public static interface DescribeSnapshotScheduleResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotScheduleResponse.Builder,DescribeSnapshotScheduleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSnapshotScheduleResponse.Builderdescription(String description)The snapshot description.DescribeSnapshotScheduleResponse.BuilderrecurrenceInHours(Integer recurrenceInHours)The number of hours between snapshots.DescribeSnapshotScheduleResponse.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).DescribeSnapshotScheduleResponse.Buildertags(Collection<Tag> tags)A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.DescribeSnapshotScheduleResponse.Buildertags(Consumer<Tag.Builder>... tags)A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.DescribeSnapshotScheduleResponse.Buildertags(Tag... tags)A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.DescribeSnapshotScheduleResponse.Buildertimezone(String timezone)A value that indicates the time zone of the gateway.DescribeSnapshotScheduleResponse.BuildervolumeARN(String volumeARN)The Amazon Resource Name (ARN) of the volume that was specified in the request.-
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
volumeARN
DescribeSnapshotScheduleResponse.Builder volumeARN(String 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
DescribeSnapshotScheduleResponse.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
DescribeSnapshotScheduleResponse.Builder recurrenceInHours(Integer 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
DescribeSnapshotScheduleResponse.Builder description(String 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
DescribeSnapshotScheduleResponse.Builder timezone(String 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
DescribeSnapshotScheduleResponse.Builder tags(Collection<Tag> 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
DescribeSnapshotScheduleResponse.Builder tags(Tag... 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
DescribeSnapshotScheduleResponse.Builder tags(Consumer<Tag.Builder>... 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 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)
-
-