@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateTemplateResult() |
Modifier and Type | Method and Description |
---|---|
CreateTemplateResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN for the template.
|
String |
getCreationStatus()
The template creation status.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
String |
getTemplateId()
The ID of the template.
|
String |
getVersionArn()
The ARN for the template, including the version information of the first version.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN for the template.
|
void |
setCreationStatus(String creationStatus)
The template creation status.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setTemplateId(String templateId)
The ID of the template.
|
void |
setVersionArn(String versionArn)
The ARN for the template, including the version information of the first version.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateResult |
withArn(String arn)
The ARN for the template.
|
CreateTemplateResult |
withCreationStatus(ResourceStatus creationStatus)
The template creation status.
|
CreateTemplateResult |
withCreationStatus(String creationStatus)
The template creation status.
|
CreateTemplateResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
CreateTemplateResult |
withStatus(Integer status)
The HTTP status of the request.
|
CreateTemplateResult |
withTemplateId(String templateId)
The ID of the template.
|
CreateTemplateResult |
withVersionArn(String versionArn)
The ARN for the template, including the version information of the first version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN for the template.
arn
- The ARN for the template.public String getArn()
The ARN for the template.
public CreateTemplateResult withArn(String arn)
The ARN for the template.
arn
- The ARN for the template.public void setVersionArn(String versionArn)
The ARN for the template, including the version information of the first version.
versionArn
- The ARN for the template, including the version information of the first version.public String getVersionArn()
The ARN for the template, including the version information of the first version.
public CreateTemplateResult withVersionArn(String versionArn)
The ARN for the template, including the version information of the first version.
versionArn
- The ARN for the template, including the version information of the first version.public void setTemplateId(String templateId)
The ID of the template.
templateId
- The ID of the template.public String getTemplateId()
The ID of the template.
public CreateTemplateResult withTemplateId(String templateId)
The ID of the template.
templateId
- The ID of the template.public void setCreationStatus(String creationStatus)
The template creation status.
creationStatus
- The template creation status.ResourceStatus
public String getCreationStatus()
The template creation status.
ResourceStatus
public CreateTemplateResult withCreationStatus(String creationStatus)
The template creation status.
creationStatus
- The template creation status.ResourceStatus
public CreateTemplateResult withCreationStatus(ResourceStatus creationStatus)
The template creation status.
creationStatus
- The template creation status.ResourceStatus
public void setStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public Integer getStatus()
The HTTP status of the request.
public CreateTemplateResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public void setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String getRequestId()
The Amazon Web Services request ID for this operation.
public CreateTemplateResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String toString()
toString
in class Object
Object.toString()
public CreateTemplateResult clone()