@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUploadUrlResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateUploadUrlResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateUploadUrlResult |
addRequestHeadersEntry(String key,
String value)
Add a single RequestHeaders entry
|
CreateUploadUrlResult |
clearRequestHeadersEntries()
Removes all the entries added into RequestHeaders.
|
CreateUploadUrlResult |
clone() |
boolean |
equals(Object obj) |
String |
getCodeArtifactId()
The identifier for the uploaded code resource.
|
Map<String,String> |
getRequestHeaders()
A set of key-value pairs that contain the required headers when uploading your resource.
|
String |
getS3Url()
A pre-signed S3 URL.
|
int |
hashCode() |
void |
setCodeArtifactId(String codeArtifactId)
The identifier for the uploaded code resource.
|
void |
setRequestHeaders(Map<String,String> requestHeaders)
A set of key-value pairs that contain the required headers when uploading your resource.
|
void |
setS3Url(String s3Url)
A pre-signed S3 URL.
|
String |
toString()
Returns a string representation of this object.
|
CreateUploadUrlResult |
withCodeArtifactId(String codeArtifactId)
The identifier for the uploaded code resource.
|
CreateUploadUrlResult |
withRequestHeaders(Map<String,String> requestHeaders)
A set of key-value pairs that contain the required headers when uploading your resource.
|
CreateUploadUrlResult |
withS3Url(String s3Url)
A pre-signed S3 URL.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCodeArtifactId(String codeArtifactId)
The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded
resources.
codeArtifactId - The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded
resources.public String getCodeArtifactId()
The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded
resources.
CreateScan to use the uploaded
resources.public CreateUploadUrlResult withCodeArtifactId(String codeArtifactId)
The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded
resources.
codeArtifactId - The identifier for the uploaded code resource. Pass this to CreateScan to use the uploaded
resources.public Map<String,String> getRequestHeaders()
A set of key-value pairs that contain the required headers when uploading your resource.
public void setRequestHeaders(Map<String,String> requestHeaders)
A set of key-value pairs that contain the required headers when uploading your resource.
requestHeaders - A set of key-value pairs that contain the required headers when uploading your resource.public CreateUploadUrlResult withRequestHeaders(Map<String,String> requestHeaders)
A set of key-value pairs that contain the required headers when uploading your resource.
requestHeaders - A set of key-value pairs that contain the required headers when uploading your resource.public CreateUploadUrlResult addRequestHeadersEntry(String key, String value)
public CreateUploadUrlResult clearRequestHeadersEntries()
public void setS3Url(String s3Url)
A pre-signed S3 URL. You can upload the code file you want to scan with the required requestHeaders
using any HTTP client.
s3Url - A pre-signed S3 URL. You can upload the code file you want to scan with the required
requestHeaders using any HTTP client.public String getS3Url()
A pre-signed S3 URL. You can upload the code file you want to scan with the required requestHeaders
using any HTTP client.
requestHeaders using any HTTP client.public CreateUploadUrlResult withS3Url(String s3Url)
A pre-signed S3 URL. You can upload the code file you want to scan with the required requestHeaders
using any HTTP client.
s3Url - A pre-signed S3 URL. You can upload the code file you want to scan with the required
requestHeaders using any HTTP client.public String toString()
toString in class ObjectObject.toString()public CreateUploadUrlResult clone()