Interface GetApplicationGrantResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetApplicationGrantResponse.Builder,
,GetApplicationGrantResponse> SdkBuilder<GetApplicationGrantResponse.Builder,
,GetApplicationGrantResponse> SdkPojo
,SdkResponse.Builder
,SsoAdminResponse.Builder
- Enclosing class:
GetApplicationGrantResponse
@Mutable
@NotThreadSafe
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
copy
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
Methods 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.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:
-