Interface DeleteProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteProfileResponse.Builder,DeleteProfileResponse>,RolesAnywhereResponse.Builder,SdkBuilder<DeleteProfileResponse.Builder,DeleteProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeleteProfileResponse
public static interface DeleteProfileResponse.Builder extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<DeleteProfileResponse.Builder,DeleteProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeleteProfileResponse.Builderprofile(Consumer<ProfileDetail.Builder> profile)The state of the profile after a read or write operation.DeleteProfileResponse.Builderprofile(ProfileDetail profile)The state of the profile after a read or write operation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
-
-
-
Method Detail
-
profile
DeleteProfileResponse.Builder profile(ProfileDetail profile)
The state of the profile after a read or write operation.
- Parameters:
profile- The state of the profile after a read or write operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profile
default DeleteProfileResponse.Builder profile(Consumer<ProfileDetail.Builder> profile)
The state of the profile after a read or write operation.
This is a convenience method that creates an instance of theProfileDetail.Builderavoiding the need to create one manually viaProfileDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofile(ProfileDetail).- Parameters:
profile- a consumer that will call methods onProfileDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
profile(ProfileDetail)
-
-