Interface DescribeProtectionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>, SdkBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>, SdkPojo, SdkRequest.Builder, ShieldRequest.Builder
Enclosing class:
DescribeProtectionRequest

public static interface DescribeProtectionRequest.Builder extends ShieldRequest.Builder, SdkPojo, CopyableBuilder<DescribeProtectionRequest.Builder,DescribeProtectionRequest>
  • Method Details

    • protectionId

      DescribeProtectionRequest.Builder protectionId(String protectionId)

      The unique identifier (ID) for the Protection object to describe. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.

      Parameters:
      protectionId - The unique identifier (ID) for the Protection object to describe. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      DescribeProtectionRequest.Builder resourceArn(String resourceArn)

      The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.

      Parameters:
      resourceArn - The ARN (Amazon Resource Name) of the protected Amazon Web Services resource. You must provide either the ResourceArn of the protected resource or the ProtectionID of the protection, but not both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeProtectionRequest.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.