@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeploymentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request structure for create a new deployment.
NOOP
Constructor and Description |
---|
CreateDeploymentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeploymentRequest |
addFileMapEntry(String key,
String value) |
CreateDeploymentRequest |
clearFileMapEntries()
Removes all the entries added into FileMap.
|
CreateDeploymentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppId()
Unique Id for an Amplify App.
|
String |
getBranchName()
Name for the branch, for the Job.
|
Map<String,String> |
getFileMap()
Optional file map that contains file name as the key and file content md5 hash as the value.
|
int |
hashCode() |
void |
setAppId(String appId)
Unique Id for an Amplify App.
|
void |
setBranchName(String branchName)
Name for the branch, for the Job.
|
void |
setFileMap(Map<String,String> fileMap)
Optional file map that contains file name as the key and file content md5 hash as the value.
|
String |
toString()
Returns a string representation of this object.
|
CreateDeploymentRequest |
withAppId(String appId)
Unique Id for an Amplify App.
|
CreateDeploymentRequest |
withBranchName(String branchName)
Name for the branch, for the Job.
|
CreateDeploymentRequest |
withFileMap(Map<String,String> fileMap)
Optional file map that contains file name as the key and file content md5 hash as the value.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAppId(String appId)
Unique Id for an Amplify App.
appId
- Unique Id for an Amplify App.public String getAppId()
Unique Id for an Amplify App.
public CreateDeploymentRequest withAppId(String appId)
Unique Id for an Amplify App.
appId
- Unique Id for an Amplify App.public void setBranchName(String branchName)
Name for the branch, for the Job.
branchName
- Name for the branch, for the Job.public String getBranchName()
Name for the branch, for the Job.
public CreateDeploymentRequest withBranchName(String branchName)
Name for the branch, for the Job.
branchName
- Name for the branch, for the Job.public Map<String,String> getFileMap()
Optional file map that contains file name as the key and file content md5 hash as the value. If this argument is provided, the service will generate different upload url per file. Otherwise, the service will only generate a single upload url for the zipped files.
public void setFileMap(Map<String,String> fileMap)
Optional file map that contains file name as the key and file content md5 hash as the value. If this argument is provided, the service will generate different upload url per file. Otherwise, the service will only generate a single upload url for the zipped files.
fileMap
- Optional file map that contains file name as the key and file content md5 hash as the value. If this
argument is provided, the service will generate different upload url per file. Otherwise, the service will
only generate a single upload url for the zipped files.public CreateDeploymentRequest withFileMap(Map<String,String> fileMap)
Optional file map that contains file name as the key and file content md5 hash as the value. If this argument is provided, the service will generate different upload url per file. Otherwise, the service will only generate a single upload url for the zipped files.
fileMap
- Optional file map that contains file name as the key and file content md5 hash as the value. If this
argument is provided, the service will generate different upload url per file. Otherwise, the service will
only generate a single upload url for the zipped files.public CreateDeploymentRequest addFileMapEntry(String key, String value)
public CreateDeploymentRequest clearFileMapEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateDeploymentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.