Interface PermissionsBoundary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PermissionsBoundary.Builder,
,PermissionsBoundary> SdkBuilder<PermissionsBoundary.Builder,
,PermissionsBoundary> SdkPojo
- Enclosing class:
PermissionsBoundary
public static interface PermissionsBoundary.Builder
extends SdkPojo, CopyableBuilder<PermissionsBoundary.Builder,PermissionsBoundary>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PermissionsBoundary.Builder
customerManagedPolicyReference
(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.managedPolicyArn
(String managedPolicyArn) The Amazon Web Services managed policy ARN that you want to attach to a permission set as a permissions boundary.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
-
Method Details
-
customerManagedPolicyReference
PermissionsBoundary.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 PermissionsBoundary.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:
-
managedPolicyArn
The Amazon Web Services managed policy ARN that you want to attach to a permission set as a permissions boundary.
- Parameters:
managedPolicyArn
- The Amazon Web Services managed policy ARN that you want to attach to a permission set as a permissions boundary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-