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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetApplicationGrantResponse.Buildergrant(Consumer<Grant.Builder> grant)A structure that describes the requested grant.GetApplicationGrantResponse.Buildergrant(Grant 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, 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 Detail
-
grant
GetApplicationGrantResponse.Builder grant(Grant 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
default GetApplicationGrantResponse.Builder grant(Consumer<Grant.Builder> 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:
grant(Grant)
-
-