Interface PutApplicationGrantRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PutApplicationGrantRequest.Builder,,PutApplicationGrantRequest> SdkBuilder<PutApplicationGrantRequest.Builder,,PutApplicationGrantRequest> SdkPojo,SdkRequest.Builder,SsoAdminRequest.Builder
- Enclosing class:
PutApplicationGrantRequest
public static interface PutApplicationGrantRequest.Builder
extends SsoAdminRequest.Builder, SdkPojo, CopyableBuilder<PutApplicationGrantRequest.Builder,PutApplicationGrantRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationArn(String applicationArn) Specifies the ARN of the application to update.grant(Consumer<Grant.Builder> grant) Specifies a structure that describes the grant to update.Specifies a structure that describes the grant to update.Specifies the type of grant to update.Specifies the type of grant to update.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssoadmin.model.SsoAdminRequest.Builder
build
-
Method Details
-
applicationArn
Specifies the ARN of the application to update.
- Parameters:
applicationArn- Specifies the ARN of the application to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grant
Specifies a structure that describes the grant to update.
- Parameters:
grant- Specifies a structure that describes the grant to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
grant
Specifies a structure that describes the grant to update.
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:
-
grantType
Specifies the type of grant to update.
- Parameters:
grantType- Specifies the type of grant to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
grantType
Specifies the type of grant to update.
- Parameters:
grantType- Specifies the type of grant to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutApplicationGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutApplicationGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-