Interface DescribeSnapshotScheduleResponse.Builder

    • 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 ListTagsForResource API 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 the ListTagsForResource API 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 ListTagsForResource API 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 the ListTagsForResource API 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 ListTagsForResource API operation.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)