Interface AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder,
,AttachCustomerManagedPolicyReferenceToPermissionSetRequest> SdkBuilder<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder,
,AttachCustomerManagedPolicyReferenceToPermissionSetRequest> SdkPojo
,SdkRequest.Builder
,SsoAdminRequest.Builder
- Enclosing class:
AttachCustomerManagedPolicyReferenceToPermissionSetRequest
public static interface AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder
extends SsoAdminRequest.Builder, SdkPojo, CopyableBuilder<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder,AttachCustomerManagedPolicyReferenceToPermissionSetRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncustomerManagedPolicyReference
(Consumer<CustomerManagedPolicyReference.Builder> customerManagedPolicyReference) Specifies the name and path of a customer managed policy.customerManagedPolicyReference
(CustomerManagedPolicyReference customerManagedPolicyReference) Specifies the name and path of a customer managed policy.instanceArn
(String instanceArn) The ARN of the IAM Identity Center instance under which the operation will be executed.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissionSetArn
(String permissionSetArn) The ARN of thePermissionSet
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest.Builder
build
-
Method Details
-
customerManagedPolicyReference
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder customerManagedPolicyReference(CustomerManagedPolicyReference customerManagedPolicyReference) Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
- Parameters:
customerManagedPolicyReference
- Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerManagedPolicyReference
default AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder customerManagedPolicyReference(Consumer<CustomerManagedPolicyReference.Builder> customerManagedPolicyReference) Specifies the name and path of a customer managed policy. You must have an IAM policy that matches the name and path in each Amazon Web Services account where you want to deploy your permission set.
This is a convenience method that creates an instance of theCustomerManagedPolicyReference.Builder
avoiding the need to create one manually viaCustomerManagedPolicyReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomerManagedPolicyReference(CustomerManagedPolicyReference)
.- Parameters:
customerManagedPolicyReference
- a consumer that will call methods onCustomerManagedPolicyReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceArn
The ARN of the IAM Identity Center instance under which the operation will be executed.
- Parameters:
instanceArn
- The ARN of the IAM Identity Center instance under which the operation will be executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionSetArn
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder permissionSetArn(String permissionSetArn) The ARN of the
PermissionSet
.- Parameters:
permissionSetArn
- The ARN of thePermissionSet
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-