Interface GetAccessGrantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchOmniResponse.Builder,CopyableBuilder<GetAccessGrantResponse.Builder,,GetAccessGrantResponse> SdkBuilder<GetAccessGrantResponse.Builder,,GetAccessGrantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAccessGrantResponse
@Mutable
@NotThreadSafe
public static interface GetAccessGrantResponse.Builder
extends CloudWatchOmniResponse.Builder, SdkPojo, CopyableBuilder<GetAccessGrantResponse.Builder,GetAccessGrantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetAccessGrantResponse.BuilderaccessGrant(Consumer<AccessGrant.Builder> accessGrant) The full details of the access grant.accessGrant(AccessGrant accessGrant) The full details of the access grant.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
-
accessGrant
The full details of the access grant.
- Parameters:
accessGrant- The full details of the access grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessGrant
The full details of the access grant.
This is a convenience method that creates an instance of theAccessGrant.Builderavoiding the need to create one manually viaAccessGrant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessGrant(AccessGrant).- Parameters:
accessGrant- a consumer that will call methods onAccessGrant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-