Interface UpdateApplicationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> M2Request.Builder
,SdkBuilder<UpdateApplicationRequest.Builder,
,UpdateApplicationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateApplicationRequest
@Mutable
@NotThreadSafe
public static interface UpdateApplicationRequest.Builder
extends M2Request.Builder, SdkPojo, CopyableBuilder<UpdateApplicationRequest.Builder,UpdateApplicationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) The unique identifier of the application you want to update.currentApplicationVersion
(Integer currentApplicationVersion) The current version of the application to update.default UpdateApplicationRequest.Builder
definition
(Consumer<Definition.Builder> definition) The application definition for this application.definition
(Definition definition) The application definition for this application.description
(String description) The description of the application 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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.m2.model.M2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
applicationId
The unique identifier of the application you want to update.
- Parameters:
applicationId
- The unique identifier of the application you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentApplicationVersion
The current version of the application to update.
- Parameters:
currentApplicationVersion
- The current version of the application to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
- Parameters:
definition
- The application definition for this application. You can specify either inline JSON or an S3 bucket location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
The application definition for this application. You can specify either inline JSON or an S3 bucket location.
This is a convenience method that creates an instance of theDefinition.Builder
avoiding the need to create one manually viaDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(Definition)
.- Parameters:
definition
- a consumer that will call methods onDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description of the application to update.
- Parameters:
description
- The description of the application to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateApplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateApplicationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-