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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePermissionSetResponse.BuilderpermissionSet(Consumer<PermissionSet.Builder> permissionSet)Defines the level of access on an Amazon Web Services account.CreatePermissionSetResponse.BuilderpermissionSet(PermissionSet permissionSet)Defines the level of access on an Amazon Web Services account.-
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
permissionSet
CreatePermissionSetResponse.Builder permissionSet(PermissionSet 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:
permissionSet(PermissionSet)
-
-