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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetGrantResponse.Buildergrant(Consumer<Grant.Builder> grant)Grant details.GetGrantResponse.Buildergrant(Grant grant)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
grant
GetGrantResponse.Builder grant(Grant grant)
Grant details.
- Parameters:
grant- Grant details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grant
default GetGrantResponse.Builder grant(Consumer<Grant.Builder> 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:
grant(Grant)
-
-