Class CreateDeploymentRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.m2.model.M2Request
-
- software.amazon.awssdk.services.m2.model.CreateDeploymentRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateDeploymentRequest extends M2Request implements ToCopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateDeploymentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplicationId()The application identifier.IntegerapplicationVersion()The version of the application to deploy.static CreateDeploymentRequest.Builderbuilder()StringclientToken()Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment.StringenvironmentId()The identifier of the runtime environment where you want to deploy this application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CreateDeploymentRequest.Builder>serializableBuilderClass()CreateDeploymentRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
applicationId
public final String applicationId()
The application identifier.
- Returns:
- The application identifier.
-
applicationVersion
public final Integer applicationVersion()
The version of the application to deploy.
- Returns:
- The version of the application to deploy.
-
clientToken
public final String clientToken()
Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
- Returns:
- Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a deployment. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
-
environmentId
public final String environmentId()
The identifier of the runtime environment where you want to deploy this application.
- Returns:
- The identifier of the runtime environment where you want to deploy this application.
-
toBuilder
public CreateDeploymentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateDeploymentRequest.Builder,CreateDeploymentRequest>- Specified by:
toBuilderin classM2Request
-
builder
public static CreateDeploymentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateDeploymentRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-