Interface DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder,,DetachCustomerManagedPolicyReferenceFromPermissionSetRequest> SdkBuilder<DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder,,DetachCustomerManagedPolicyReferenceFromPermissionSetRequest> SdkPojo,SdkRequest.Builder,SsoAdminRequest.Builder
- Enclosing class:
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest
public static interface DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder
extends SsoAdminRequest.Builder, SdkPojo, CopyableBuilder<DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder,DetachCustomerManagedPolicyReferenceFromPermissionSetRequest>
-
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest.Builder
build
-
Method Details
-
customerManagedPolicyReference
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.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 DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.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.Builderavoiding the need to create one manually viaCustomerManagedPolicyReference.builder().When the
Consumercompletes,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
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder instanceArn(String 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
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.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
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DetachCustomerManagedPolicyReferenceFromPermissionSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-