Interface GetGrantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGrantResponse.Builder,,GetGrantResponse> LicenseManagerResponse.Builder,SdkBuilder<GetGrantResponse.Builder,,GetGrantResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetGrantResponse
public static interface GetGrantResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<GetGrantResponse.Builder,GetGrantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGrantResponse.Buildergrant(Consumer<Grant.Builder> grant) Grant details.Grant details.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
grant
Grant details.
- Parameters:
grant- Grant details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grant
Grant details.
This is a convenience method that creates an instance of theGrant.Builderavoiding the need to create one manually viaGrant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togrant(Grant).- Parameters:
grant- a consumer that will call methods onGrant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-