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 deployment 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 that is generated by theCreateDeploymentrequest.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartDeploymentRequest.Builder>serializableBuilderClass()StringsourceUrl()The source URL for the deployment that is used when callingStartDeploymentwithoutCreateDeployment.SourceUrlTypesourceUrlType()The type of source specified by thesourceURL.StringsourceUrlTypeAsString()The type of source specified by thesourceURL.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 deployment job.
- Returns:
- The name of the branch to use for the deployment job.
-
jobId
public final String jobId()
The job ID for this deployment that is generated by the
CreateDeploymentrequest.- Returns:
- The job ID for this deployment that is generated by the
CreateDeploymentrequest.
-
sourceUrl
public final String sourceUrl()
The source URL for the deployment that is used when calling
StartDeploymentwithoutCreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.- Returns:
- The source URL for the deployment that is used when calling
StartDeploymentwithoutCreateDeployment. The source URL can be either an HTTP GET URL that is publicly accessible and downloads a single .zip file, or an Amazon S3 bucket and prefix.
-
sourceUrlType
public final SourceUrlType sourceUrlType()
The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.If the service returns an enum value that is not available in the current SDK version,
sourceUrlTypewill returnSourceUrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceUrlTypeAsString().- Returns:
- The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP. - See Also:
SourceUrlType
-
sourceUrlTypeAsString
public final String sourceUrlTypeAsString()
The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP.If the service returns an enum value that is not available in the current SDK version,
sourceUrlTypewill returnSourceUrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsourceUrlTypeAsString().- Returns:
- The type of source specified by the
sourceURL. If the value isZIP, the source is a .zip file. If the value isBUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default isZIP. - See Also:
SourceUrlType
-
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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-