public static interface DescribeSnapshotScheduleResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotScheduleResponse.Builder,DescribeSnapshotScheduleResponse>
Modifier and Type | Method and Description |
---|---|
DescribeSnapshotScheduleResponse.Builder |
description(String description)
The snapshot description.
|
DescribeSnapshotScheduleResponse.Builder |
recurrenceInHours(Integer recurrenceInHours)
The number of hours between snapshots.
|
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).
|
DescribeSnapshotScheduleResponse.Builder |
tags(Collection<Tag> tags)
A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.
|
DescribeSnapshotScheduleResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.
|
DescribeSnapshotScheduleResponse.Builder |
tags(Tag... tags)
A list of up to 50 tags assigned to the snapshot schedule, sorted alphabetically by key name.
|
DescribeSnapshotScheduleResponse.Builder |
timezone(String timezone)
A value that indicates the time zone of the gateway.
|
DescribeSnapshotScheduleResponse.Builder |
volumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was specified in the request.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeSnapshotScheduleResponse.Builder volumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume that was specified in the request.
volumeARN
- The Amazon Resource Name (ARN) of the volume that was specified in the request.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.
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.DescribeSnapshotScheduleResponse.Builder recurrenceInHours(Integer recurrenceInHours)
The number of hours between snapshots.
recurrenceInHours
- The number of hours between snapshots.DescribeSnapshotScheduleResponse.Builder description(String description)
The snapshot description.
description
- The snapshot description.DescribeSnapshotScheduleResponse.Builder timezone(String timezone)
A value that indicates the time zone of the gateway.
timezone
- A value that indicates the time zone of the gateway.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
ListTagsForResource
API operation.
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
ListTagsForResource
API operation.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
ListTagsForResource
API operation.
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
ListTagsForResource
API operation.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
ListTagsForResource
API operation.
List.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.