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