Interface GetRolePolicyRequest.Builder

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

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

    • roleName

      The name of the role associated with the policy.

      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:
      roleName - The name of the role associated with the policy.

      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

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

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