@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeThemePermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeThemePermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeThemePermissionsResult |
clone() |
boolean |
equals(Object obj) |
List<ResourcePermission> |
getPermissions()
A list of resource permissions set on the theme.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
String |
getThemeArn()
The Amazon Resource Name (ARN) of the theme.
|
String |
getThemeId()
The ID for the theme.
|
int |
hashCode() |
void |
setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions set on the theme.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
void |
setThemeArn(String themeArn)
The Amazon Resource Name (ARN) of the theme.
|
void |
setThemeId(String themeId)
The ID for the theme.
|
String |
toString()
Returns a string representation of this object.
|
DescribeThemePermissionsResult |
withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions set on the theme.
|
DescribeThemePermissionsResult |
withPermissions(ResourcePermission... permissions)
A list of resource permissions set on the theme.
|
DescribeThemePermissionsResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
DescribeThemePermissionsResult |
withStatus(Integer status)
The HTTP status of the request.
|
DescribeThemePermissionsResult |
withThemeArn(String themeArn)
The Amazon Resource Name (ARN) of the theme.
|
DescribeThemePermissionsResult |
withThemeId(String themeId)
The ID for the theme.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setThemeId(String themeId)
The ID for the theme.
themeId
- The ID for the theme.public String getThemeId()
The ID for the theme.
public DescribeThemePermissionsResult withThemeId(String themeId)
The ID for the theme.
themeId
- The ID for the theme.public void setThemeArn(String themeArn)
The Amazon Resource Name (ARN) of the theme.
themeArn
- The Amazon Resource Name (ARN) of the theme.public String getThemeArn()
The Amazon Resource Name (ARN) of the theme.
public DescribeThemePermissionsResult withThemeArn(String themeArn)
The Amazon Resource Name (ARN) of the theme.
themeArn
- The Amazon Resource Name (ARN) of the theme.public List<ResourcePermission> getPermissions()
A list of resource permissions set on the theme.
public void setPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions set on the theme.
permissions
- A list of resource permissions set on the theme.public DescribeThemePermissionsResult withPermissions(ResourcePermission... permissions)
A list of resource permissions set on the theme.
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 set on the theme.public DescribeThemePermissionsResult withPermissions(Collection<ResourcePermission> permissions)
A list of resource permissions set on the theme.
permissions
- A list of resource permissions set on the theme.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 DescribeThemePermissionsResult 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 DescribeThemePermissionsResult 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 DescribeThemePermissionsResult clone()