Interface DescribeSnapshotPoliciesRequest.Builder

  • Method Details

    • snapshotPolicyIds

      DescribeSnapshotPoliciesRequest.Builder snapshotPolicyIds(Collection<String> snapshotPolicyIds)

      The IDs of the snapshot policies that you want to retrieve. If you also specify Filters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, a SnapshotPolicyNotFound error occurs.

      Parameters:
      snapshotPolicyIds - The IDs of the snapshot policies that you want to retrieve. If you also specify Filters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, a SnapshotPolicyNotFound error occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotPolicyIds

      DescribeSnapshotPoliciesRequest.Builder snapshotPolicyIds(String... snapshotPolicyIds)

      The IDs of the snapshot policies that you want to retrieve. If you also specify Filters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, a SnapshotPolicyNotFound error occurs.

      Parameters:
      snapshotPolicyIds - The IDs of the snapshot policies that you want to retrieve. If you also specify Filters, only snapshot policies that match both the IDs and the filters are returned. If any IDs aren't found, or if a filter excludes any of them, a SnapshotPolicyNotFound error occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters structure. The supported names are file-system-id or storage-virtual-machine-id.

      Parameters:
      filters - The filters structure. The supported names are file-system-id or storage-virtual-machine-id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters structure. The supported names are file-system-id or storage-virtual-machine-id.

      Parameters:
      filters - The filters structure. The supported names are file-system-id or storage-virtual-machine-id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      The filters structure. The supported names are file-system-id or storage-virtual-machine-id.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filters(List<SnapshotPolicyFilter>).

      Parameters:
      filters - a consumer that will call methods on SnapshotPolicyFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • maxResults

      Sets the value of the MaxResults property for this object.
      Parameters:
      maxResults - The new value for the MaxResults property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      Sets the value of the NextToken property for this object.
      Parameters:
      nextToken - The new value for the NextToken property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeSnapshotPoliciesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.