Interface GetUserPolicyRequest.Builder

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

public static interface GetUserPolicyRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<GetUserPolicyRequest.Builder,GetUserPolicyRequest>
  • Method Details

    • userName

      The name of the user who the policy is associated with.

      This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

      Parameters:
      userName - The name of the user who the policy is associated with.

      This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyName

      GetUserPolicyRequest.Builder policyName(String policyName)

      The name of the policy document to get.

      This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

      Parameters:
      policyName - The name of the policy document to get.

      This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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