@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTemplatePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
UpdateTemplatePermissionsResult() |
| Modifier and Type | Method and Description |
|---|---|
UpdateTemplatePermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<ResourcePermission> |
getPermissions()
A list of resource permissions to be set on the template.
|
String |
getRequestId()
The AWS request ID for this operation.
|
Integer |
getStatus()
The http status of the request.
|
String |
getTemplateArn()
The ARN of the template.
|
String |
getTemplateId()
The ID for the template.
|
int |
hashCode() |
void |
setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
|
void |
setRequestId(String requestId)
The AWS request ID for this operation.
|
void |
setStatus(Integer status)
The http status of the request.
|
void |
setTemplateArn(String templateArn)
The ARN of the template.
|
void |
setTemplateId(String templateId)
The ID for the template.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTemplatePermissionsResult |
withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
|
UpdateTemplatePermissionsResult |
withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
|
UpdateTemplatePermissionsResult |
withRequestId(String requestId)
The AWS request ID for this operation.
|
UpdateTemplatePermissionsResult |
withStatus(Integer status)
The http status of the request.
|
UpdateTemplatePermissionsResult |
withTemplateArn(String templateArn)
The ARN of the template.
|
UpdateTemplatePermissionsResult |
withTemplateId(String templateId)
The ID for the template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setTemplateId(String templateId)
The ID for the template.
templateId - The ID for the template.public String getTemplateId()
The ID for the template.
public UpdateTemplatePermissionsResult withTemplateId(String templateId)
The ID for the template.
templateId - The ID for the template.public void setTemplateArn(String templateArn)
The ARN of the template.
templateArn - The ARN of the template.public String getTemplateArn()
The ARN of the template.
public UpdateTemplatePermissionsResult withTemplateArn(String templateArn)
The ARN of the template.
templateArn - The ARN of the template.public List<ResourcePermission> getPermissions()
A list of resource permissions to be set on the template.
public void setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
permissions - A list of resource permissions to be set on the template.public UpdateTemplatePermissionsResult withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection) or withPermissions(java.util.Collection) if you want to
override the existing values.
permissions - A list of resource permissions to be set on the template.public UpdateTemplatePermissionsResult withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
permissions - A list of resource permissions to be set on the template.public void setRequestId(String requestId)
The AWS request ID for this operation.
requestId - The AWS request ID for this operation.public String getRequestId()
The AWS request ID for this operation.
public UpdateTemplatePermissionsResult withRequestId(String requestId)
The AWS request ID for this operation.
requestId - The AWS request ID for this operation.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 UpdateTemplatePermissionsResult withStatus(Integer status)
The http status of the request.
status - The http status of the request.public String toString()
toString in class ObjectObject.toString()public UpdateTemplatePermissionsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.