Interface AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder,AttachCustomerManagedPolicyReferenceToPermissionSetRequest>
,SdkBuilder<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder,AttachCustomerManagedPolicyReferenceToPermissionSetRequest>
,SdkPojo
,SdkRequest.Builder
,SsoAdminRequest.Builder
- Enclosing class:
- AttachCustomerManagedPolicyReferenceToPermissionSetRequest
@Mutable @NotThreadSafe public static interface AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder extends SsoAdminRequest.Builder, SdkPojo, CopyableBuilder<AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder,AttachCustomerManagedPolicyReferenceToPermissionSetRequest>
-
-
Method Summary
-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest.Builder
build
-
-
-
-
Method Detail
-
instanceArn
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.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
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.
-
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:
customerManagedPolicyReference(CustomerManagedPolicyReference)
-
overrideConfiguration
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
AttachCustomerManagedPolicyReferenceToPermissionSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-