Interface GetGrantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGrantResponse.Builder,
,GetGrantResponse> LicenseManagerResponse.Builder
,SdkBuilder<GetGrantResponse.Builder,
,GetGrantResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGrantResponse
@Mutable
@NotThreadSafe
public static interface GetGrantResponse.Builder
extends LicenseManagerResponse.Builder, SdkPojo, CopyableBuilder<GetGrantResponse.Builder,GetGrantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGrantResponse.Builder
grant
(Consumer<Grant.Builder> grant) Grant details.Grant details.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.licensemanager.model.LicenseManagerResponse.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, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaGrant.builder()
.When the
Consumer
completes,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:
-