Interface CreatePermissionSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePermissionSetRequest.Builder,
,CreatePermissionSetRequest> SdkBuilder<CreatePermissionSetRequest.Builder,
,CreatePermissionSetRequest> SdkPojo
,SdkRequest.Builder
,SsoAdminRequest.Builder
- Enclosing class:
CreatePermissionSetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the PermissionSet.instanceArn
(String instanceArn) The ARN of the IAM Identity Center instance under which the operation will be executed.The name of the PermissionSet.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.relayState
(String relayState) Used to redirect users within the application during the federation authentication process.sessionDuration
(String sessionDuration) The length of time that the application user sessions are valid in the ISO-8601 standard.tags
(Collection<Tag> tags) The tags to attach to the new PermissionSet.tags
(Consumer<Tag.Builder>... tags) The tags to attach to the new PermissionSet.The tags to attach to the new PermissionSet.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest.Builder
build
-
Method Details
-
description
The description of the PermissionSet.
- Parameters:
description
- The description of the PermissionSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceArn
The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
- Parameters:
instanceArn
- The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the PermissionSet.
- Parameters:
name
- The name of the PermissionSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relayState
Used to redirect users within the application during the federation authentication process.
- Parameters:
relayState
- Used to redirect users within the application during the federation authentication process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionDuration
The length of time that the application user sessions are valid in the ISO-8601 standard.
- Parameters:
sessionDuration
- The length of time that the application user sessions are valid in the ISO-8601 standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the new PermissionSet.
- Parameters:
tags
- The tags to attach to the new PermissionSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the new PermissionSet.
- Parameters:
tags
- The tags to attach to the new PermissionSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to attach to the new PermissionSet.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePermissionSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePermissionSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-