Class StartDeploymentRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.amplify.model.AmplifyRequest
-
- software.amazon.awssdk.services.amplify.model.StartDeploymentRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartDeploymentRequest.Builder,StartDeploymentRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartDeploymentRequest extends AmplifyRequest implements ToCopyableBuilder<StartDeploymentRequest.Builder,StartDeploymentRequest>
The request structure for the start a deployment request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartDeploymentRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappId()The unique ID for an Amplify app.StringbranchName()The name of the branch to use for the job.static StartDeploymentRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The job ID for this deployment, generated by the create deployment request.List<SdkField<?>>sdkFields()static Class<? extends StartDeploymentRequest.Builder>serializableBuilderClass()StringsourceUrl()The source URL for this deployment, used when calling start deployment without create deployment.StartDeploymentRequest.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
-
appId
public final String appId()
The unique ID for an Amplify app.
- Returns:
- The unique ID for an Amplify app.
-
branchName
public final String branchName()
The name of the branch to use for the job.
- Returns:
- The name of the branch to use for the job.
-
jobId
public final String jobId()
The job ID for this deployment, generated by the create deployment request.
- Returns:
- The job ID for this deployment, generated by the create deployment request.
-
sourceUrl
public final String sourceUrl()
The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
- Returns:
- The source URL for this deployment, used when calling start deployment without create deployment. The source URL can be any HTTP GET URL that is publicly accessible and downloads a single .zip file.
-
toBuilder
public StartDeploymentRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartDeploymentRequest.Builder,StartDeploymentRequest>- Specified by:
toBuilderin classAmplifyRequest
-
builder
public static StartDeploymentRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartDeploymentRequest.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
-
-