@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateImageBuilderStreamingURLRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateImageBuilderStreamingURLRequest() |
Modifier and Type | Method and Description |
---|---|
CreateImageBuilderStreamingURLRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the image builder.
|
Long |
getValidity()
The time that the streaming URL will be valid, in seconds.
|
int |
hashCode() |
void |
setName(String name)
The name of the image builder.
|
void |
setValidity(Long validity)
The time that the streaming URL will be valid, in seconds.
|
String |
toString()
Returns a string representation of this object.
|
CreateImageBuilderStreamingURLRequest |
withName(String name)
The name of the image builder.
|
CreateImageBuilderStreamingURLRequest |
withValidity(Long validity)
The time that the streaming URL will be valid, 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 CreateImageBuilderStreamingURLRequest()
public void setName(String name)
The name of the image builder.
name
- The name of the image builder.public String getName()
The name of the image builder.
public CreateImageBuilderStreamingURLRequest withName(String name)
The name of the image builder.
name
- The name of the image builder.public void setValidity(Long validity)
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
validity
- The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds.
The default is 3600 seconds.public Long getValidity()
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
public CreateImageBuilderStreamingURLRequest withValidity(Long validity)
The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds. The default is 3600 seconds.
validity
- The time that the streaming URL will be valid, in seconds. Specify a value between 1 and 604800 seconds.
The default is 3600 seconds.public String toString()
toString
in class Object
Object.toString()
public CreateImageBuilderStreamingURLRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()