Interface GetApplicationGrantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetApplicationGrantResponse.Builder,,GetApplicationGrantResponse> SdkBuilder<GetApplicationGrantResponse.Builder,,GetApplicationGrantResponse> SdkPojo,SdkResponse.Builder,SsoAdminResponse.Builder
- Enclosing class:
GetApplicationGrantResponse
public static interface GetApplicationGrantResponse.Builder
extends SsoAdminResponse.Builder, SdkPojo, CopyableBuilder<GetApplicationGrantResponse.Builder,GetApplicationGrantResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongrant(Consumer<Grant.Builder> grant) A structure that describes the requested grant.A structure that describes the requested grant.Methods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
grant
A structure that describes the requested grant.
- Parameters:
grant- A structure that describes the requested grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grant
A structure that describes the requested grant.
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:
-