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