@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateThemePermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateThemePermissionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateThemePermissionsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID of the Amazon Web Services account; that contains the theme.
|
List<ResourcePermission> |
getGrantPermissions()
A list of resource permissions to be granted for the theme.
|
List<ResourcePermission> |
getRevokePermissions()
A list of resource permissions to be revoked from the theme.
|
String |
getThemeId()
The ID for the theme.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the theme.
|
void |
setGrantPermissions(Collection<ResourcePermission> grantPermissions)
A list of resource permissions to be granted for the theme.
|
void |
setRevokePermissions(Collection<ResourcePermission> revokePermissions)
A list of resource permissions to be revoked from the theme.
|
void |
setThemeId(String themeId)
The ID for the theme.
|
String |
toString()
Returns a string representation of this object.
|
UpdateThemePermissionsRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the theme.
|
UpdateThemePermissionsRequest |
withGrantPermissions(Collection<ResourcePermission> grantPermissions)
A list of resource permissions to be granted for the theme.
|
UpdateThemePermissionsRequest |
withGrantPermissions(ResourcePermission... grantPermissions)
A list of resource permissions to be granted for the theme.
|
UpdateThemePermissionsRequest |
withRevokePermissions(Collection<ResourcePermission> revokePermissions)
A list of resource permissions to be revoked from the theme.
|
UpdateThemePermissionsRequest |
withRevokePermissions(ResourcePermission... revokePermissions)
A list of resource permissions to be revoked from the theme.
|
UpdateThemePermissionsRequest |
withThemeId(String themeId)
The ID for the theme.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the theme.
awsAccountId - The ID of the Amazon Web Services account; that contains the theme.public String getAwsAccountId()
The ID of the Amazon Web Services account; that contains the theme.
public UpdateThemePermissionsRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the theme.
awsAccountId - The ID of the Amazon Web Services account; that contains the theme.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 UpdateThemePermissionsRequest withThemeId(String themeId)
The ID for the theme.
themeId - The ID for the theme.public List<ResourcePermission> getGrantPermissions()
A list of resource permissions to be granted for the theme.
public void setGrantPermissions(Collection<ResourcePermission> grantPermissions)
A list of resource permissions to be granted for the theme.
grantPermissions - A list of resource permissions to be granted for the theme.public UpdateThemePermissionsRequest withGrantPermissions(ResourcePermission... grantPermissions)
A list of resource permissions to be granted for the theme.
NOTE: This method appends the values to the existing list (if any). Use
setGrantPermissions(java.util.Collection) or withGrantPermissions(java.util.Collection) if you
want to override the existing values.
grantPermissions - A list of resource permissions to be granted for the theme.public UpdateThemePermissionsRequest withGrantPermissions(Collection<ResourcePermission> grantPermissions)
A list of resource permissions to be granted for the theme.
grantPermissions - A list of resource permissions to be granted for the theme.public List<ResourcePermission> getRevokePermissions()
A list of resource permissions to be revoked from the theme.
public void setRevokePermissions(Collection<ResourcePermission> revokePermissions)
A list of resource permissions to be revoked from the theme.
revokePermissions - A list of resource permissions to be revoked from the theme.public UpdateThemePermissionsRequest withRevokePermissions(ResourcePermission... revokePermissions)
A list of resource permissions to be revoked from the theme.
NOTE: This method appends the values to the existing list (if any). Use
setRevokePermissions(java.util.Collection) or withRevokePermissions(java.util.Collection) if
you want to override the existing values.
revokePermissions - A list of resource permissions to be revoked from the theme.public UpdateThemePermissionsRequest withRevokePermissions(Collection<ResourcePermission> revokePermissions)
A list of resource permissions to be revoked from the theme.
revokePermissions - A list of resource permissions to be revoked from the theme.public String toString()
toString in class ObjectObject.toString()public UpdateThemePermissionsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.