Class StartDeploymentRequest

    • 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 CreateDeployment request.

        Returns:
        The job ID for this deployment that is generated by the CreateDeployment request.
      • sourceUrl

        public final String sourceUrl()

        The source URL for the deployment that is used when calling StartDeployment without CreateDeployment. 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 StartDeployment without CreateDeployment. 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 is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

        If the service returns an enum value that is not available in the current SDK version, sourceUrlType will return SourceUrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sourceUrlTypeAsString().

        Returns:
        The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.
        See Also:
        SourceUrlType
      • sourceUrlTypeAsString

        public final String sourceUrlTypeAsString()

        The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.

        If the service returns an enum value that is not available in the current SDK version, sourceUrlType will return SourceUrlType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from sourceUrlTypeAsString().

        Returns:
        The type of source specified by the sourceURL. If the value is ZIP, the source is a .zip file. If the value is BUCKET_PREFIX, the source is an Amazon S3 bucket and prefix. If no value is specified, the default is ZIP.
        See Also:
        SourceUrlType
      • 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.
        Overrides:
        toString in class Object