Interface CreatePermissionSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePermissionSetResponse.Builder,,CreatePermissionSetResponse> SdkBuilder<CreatePermissionSetResponse.Builder,,CreatePermissionSetResponse> SdkPojo,SdkResponse.Builder,SsoAdminResponse.Builder
- Enclosing class:
CreatePermissionSetResponse
public static interface CreatePermissionSetResponse.Builder
extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<CreatePermissionSetResponse.Builder,CreatePermissionSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpermissionSet(Consumer<PermissionSet.Builder> permissionSet) Defines the level of access on an Amazon Web Services account.permissionSet(PermissionSet permissionSet) Defines the level of access on an Amazon Web Services account.Methods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
permissionSet
Defines the level of access on an Amazon Web Services account.
- Parameters:
permissionSet- Defines the level of access on an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionSet
default CreatePermissionSetResponse.Builder permissionSet(Consumer<PermissionSet.Builder> permissionSet) Defines the level of access on an Amazon Web Services account.
This is a convenience method that creates an instance of thePermissionSet.Builderavoiding the need to create one manually viaPermissionSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissionSet(PermissionSet).- Parameters:
permissionSet- a consumer that will call methods onPermissionSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-