Interface UpdateAccessProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<UpdateAccessProfileResponse.Builder,,UpdateAccessProfileResponse> SdkBuilder<UpdateAccessProfileResponse.Builder,,UpdateAccessProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAccessProfileResponse
@Mutable
@NotThreadSafe
public static interface UpdateAccessProfileResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<UpdateAccessProfileResponse.Builder,UpdateAccessProfileResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaccessProfile(Consumer<AccessProfile.Builder> accessProfile) The access profile.accessProfile(AccessProfile accessProfile) The access profile.Methods inherited from interface software.amazon.awssdk.services.cloudwatchomni.model.CloudWatchOmniResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
accessProfile
The access profile.
- Parameters:
accessProfile- The access profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessProfile
default UpdateAccessProfileResponse.Builder accessProfile(Consumer<AccessProfile.Builder> accessProfile) The access profile.
This is a convenience method that creates an instance of theAccessProfile.Builderavoiding the need to create one manually viaAccessProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessProfile(AccessProfile).- Parameters:
accessProfile- a consumer that will call methods onAccessProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-