@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetAttachedFileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetAttachedFileRequest() |
Modifier and Type | Method and Description |
---|---|
GetAttachedFileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssociatedResourceArn()
The resource to which the attached file is (being) uploaded to.
|
String |
getFileId()
The unique identifier of the attached file resource.
|
String |
getInstanceId()
The unique identifier of the Connect instance.
|
Integer |
getUrlExpiryInSeconds()
Optional override for the expiry of the pre-signed S3 URL in seconds.
|
int |
hashCode() |
void |
setAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to.
|
void |
setFileId(String fileId)
The unique identifier of the attached file resource.
|
void |
setInstanceId(String instanceId)
The unique identifier of the Connect instance.
|
void |
setUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds.
|
String |
toString()
Returns a string representation of this object.
|
GetAttachedFileRequest |
withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to.
|
GetAttachedFileRequest |
withFileId(String fileId)
The unique identifier of the attached file resource.
|
GetAttachedFileRequest |
withInstanceId(String instanceId)
The unique identifier of the Connect instance.
|
GetAttachedFileRequest |
withUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds.
|
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 setInstanceId(String instanceId)
The unique identifier of the Connect instance.
instanceId
- The unique identifier of the Connect instance.public String getInstanceId()
The unique identifier of the Connect instance.
public GetAttachedFileRequest withInstanceId(String instanceId)
The unique identifier of the Connect instance.
instanceId
- The unique identifier of the Connect instance.public void setFileId(String fileId)
The unique identifier of the attached file resource.
fileId
- The unique identifier of the attached file resource.public String getFileId()
The unique identifier of the attached file resource.
public GetAttachedFileRequest withFileId(String fileId)
The unique identifier of the attached file resource.
fileId
- The unique identifier of the attached file resource.public void setUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
urlExpiryInSeconds
- Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.public Integer getUrlExpiryInSeconds()
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
public GetAttachedFileRequest withUrlExpiryInSeconds(Integer urlExpiryInSeconds)
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
urlExpiryInSeconds
- Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.public void setAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource. This value must be a valid ARN.
public String getAssociatedResourceArn()
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
This value must be a valid ARN.
public GetAttachedFileRequest withAssociatedResourceArn(String associatedResourceArn)
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
associatedResourceArn
- The resource to which the attached file is (being) uploaded to. Cases
are the only current supported resource. This value must be a valid ARN.
public String toString()
toString
in class Object
Object.toString()
public GetAttachedFileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()