Interface DisableProfileResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisableProfileResponse.Builder,DisableProfileResponse>,RolesAnywhereResponse.Builder,SdkBuilder<DisableProfileResponse.Builder,DisableProfileResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisableProfileResponse
public static interface DisableProfileResponse.Builder extends RolesAnywhereResponse.Builder, SdkPojo, CopyableBuilder<DisableProfileResponse.Builder,DisableProfileResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DisableProfileResponse.Builderprofile(Consumer<ProfileDetail.Builder> profile)The state of the profile after a read or write operation.DisableProfileResponse.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
DisableProfileResponse.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 DisableProfileResponse.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)
-
-