@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateUploadRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateUploadRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateUploadRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the uploaded test spec.
|
String |
getContentType()
The upload's content type (for example,
application/x-yaml ). |
Boolean |
getEditContent()
Set to true if the YAML file has changed and must be updated.
|
String |
getName()
The upload's test spec file name.
|
int |
hashCode() |
Boolean |
isEditContent()
Set to true if the YAML file has changed and must be updated.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the uploaded test spec.
|
void |
setContentType(String contentType)
The upload's content type (for example,
application/x-yaml ). |
void |
setEditContent(Boolean editContent)
Set to true if the YAML file has changed and must be updated.
|
void |
setName(String name)
The upload's test spec file name.
|
String |
toString()
Returns a string representation of this object.
|
UpdateUploadRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the uploaded test spec.
|
UpdateUploadRequest |
withContentType(String contentType)
The upload's content type (for example,
application/x-yaml ). |
UpdateUploadRequest |
withEditContent(Boolean editContent)
Set to true if the YAML file has changed and must be updated.
|
UpdateUploadRequest |
withName(String name)
The upload's test spec file name.
|
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 setArn(String arn)
The Amazon Resource Name (ARN) of the uploaded test spec.
arn
- The Amazon Resource Name (ARN) of the uploaded test spec.public String getArn()
The Amazon Resource Name (ARN) of the uploaded test spec.
public UpdateUploadRequest withArn(String arn)
The Amazon Resource Name (ARN) of the uploaded test spec.
arn
- The Amazon Resource Name (ARN) of the uploaded test spec.public void setName(String name)
The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must
end with the .yaml
or .yml
file extension.
name
- The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file
name must end with the .yaml
or .yml
file extension.public String getName()
The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must
end with the .yaml
or .yml
file extension.
.yaml
or .yml
file extension.public UpdateUploadRequest withName(String name)
The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file name must
end with the .yaml
or .yml
file extension.
name
- The upload's test spec file name. The name must not contain any forward slashes (/). The test spec file
name must end with the .yaml
or .yml
file extension.public void setContentType(String contentType)
The upload's content type (for example, application/x-yaml
).
contentType
- The upload's content type (for example, application/x-yaml
).public String getContentType()
The upload's content type (for example, application/x-yaml
).
application/x-yaml
).public UpdateUploadRequest withContentType(String contentType)
The upload's content type (for example, application/x-yaml
).
contentType
- The upload's content type (for example, application/x-yaml
).public void setEditContent(Boolean editContent)
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
editContent
- Set to true if the YAML file has changed and must be updated. Otherwise, set to false.public Boolean getEditContent()
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
public UpdateUploadRequest withEditContent(Boolean editContent)
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
editContent
- Set to true if the YAML file has changed and must be updated. Otherwise, set to false.public Boolean isEditContent()
Set to true if the YAML file has changed and must be updated. Otherwise, set to false.
public String toString()
toString
in class Object
Object.toString()
public UpdateUploadRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()