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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PermissionsBoundary.Builder
customerManagedPolicyReference(Consumer<CustomerManagedPolicyReference.Builder> customerManagedPolicyReference)
Specifies the name and path of a customer managed policy.PermissionsBoundary.Builder
customerManagedPolicyReference(CustomerManagedPolicyReference customerManagedPolicyReference)
Specifies the name and path of a customer managed policy.PermissionsBoundary.Builder
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 Detail
-
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:
customerManagedPolicyReference(CustomerManagedPolicyReference)
-
managedPolicyArn
PermissionsBoundary.Builder managedPolicyArn(String 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.
-
-