Interface AssignPermissionSetRequest.Builder
- All Superinterfaces:
AssuranceRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<AssignPermissionSetRequest.Builder,,AssignPermissionSetRequest> SdkBuilder<AssignPermissionSetRequest.Builder,,AssignPermissionSetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssignPermissionSetRequest
@Mutable
@NotThreadSafe
public static interface AssignPermissionSetRequest.Builder
extends AssuranceRequest.Builder, SdkPojo, CopyableBuilder<AssignPermissionSetRequest.Builder,AssignPermissionSetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionenvironmentArn(String environmentArn) The ARN of this governance environment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissionSetId(String permissionSetId) The identifier of the permission set.principalId(String principalId) The unique identifier of the principal the permission set is assigned to.principalType(String principalType) The type of principal the permission set is assigned to.principalType(PrincipalType principalType) The type of principal the permission set is assigned to.scopes(Collection<AssignmentScope> scopes) The scopes the assignment applies to.scopes(Consumer<AssignmentScope.Builder>... scopes) The scopes the assignment applies to.scopes(AssignmentScope... scopes) The scopes the assignment applies to.Methods inherited from interface software.amazon.awssdk.services.assurance.model.AssuranceRequest.Builder
buildMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
environmentArn
The ARN of this governance environment.
- Parameters:
environmentArn- The ARN of this governance environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalType
The type of principal the permission set is assigned to.
- Parameters:
principalType- The type of principal the permission set is assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principalType
The type of principal the permission set is assigned to.
- Parameters:
principalType- The type of principal the permission set is assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principalId
The unique identifier of the principal the permission set is assigned to.
- Parameters:
principalId- The unique identifier of the principal the permission set is assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionSetId
The identifier of the permission set.
- Parameters:
permissionSetId- The identifier of the permission set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The scopes the assignment applies to.
- Parameters:
scopes- The scopes the assignment applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The scopes the assignment applies to.
- Parameters:
scopes- The scopes the assignment applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
The scopes the assignment applies to.
This is a convenience method that creates an instance of theAssignmentScope.Builderavoiding the need to create one manually viaAssignmentScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopes(List<AssignmentScope>).- Parameters:
scopes- a consumer that will call methods onAssignmentScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssignPermissionSetRequest.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
AssignPermissionSetRequest.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.
-