@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTemplatePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTemplatePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTemplatePermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<ResourcePermission> |
getPermissions()
A list of resource permissions to be set on the template.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
String |
getTemplateArn()
The Amazon Resource Name (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 Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
|
void |
setTemplateId(String templateId)
The ID for the template.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTemplatePermissionsResult |
withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions to be set on the template.
|
DescribeTemplatePermissionsResult |
withPermissions(ResourcePermission... permissions)
A list of resource permissions to be set on the template.
|
DescribeTemplatePermissionsResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
DescribeTemplatePermissionsResult |
withStatus(Integer status)
The HTTP status of the request.
|
DescribeTemplatePermissionsResult |
withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
|
DescribeTemplatePermissionsResult |
withTemplateId(String templateId)
The ID for the template.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setTemplateId(String templateId)
The ID for the template.
templateId
- The ID for the template.public String getTemplateId()
The ID for the template.
public DescribeTemplatePermissionsResult withTemplateId(String templateId)
The ID for the template.
templateId
- The ID for the template.public void setTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
templateArn
- The Amazon Resource Name (ARN) of the template.public String getTemplateArn()
The Amazon Resource Name (ARN) of the template.
public DescribeTemplatePermissionsResult withTemplateArn(String templateArn)
The Amazon Resource Name (ARN) of the template.
templateArn
- The Amazon Resource Name (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 DescribeTemplatePermissionsResult 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 DescribeTemplatePermissionsResult 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 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 DescribeTemplatePermissionsResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services 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 DescribeTemplatePermissionsResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public String toString()
toString
in class Object
Object.toString()
public DescribeTemplatePermissionsResult clone()