Interface DisableProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisableProfileResponse.Builder,,DisableProfileResponse> RolesAnywhereResponse.Builder,SdkBuilder<DisableProfileResponse.Builder,,DisableProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DisableProfileResponse
@Mutable
@NotThreadSafe
public static interface DisableProfileResponse.Builder
extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<DisableProfileResponse.Builder,DisableProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DisableProfileResponse.Builderprofile(Consumer<ProfileDetail.Builder> profile) The state of the profile after a read or write operation.profile(ProfileDetail profile) The state of the profile after a read or write operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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:
-