@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateDashboardPermissionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateDashboardPermissionsRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateDashboardPermissionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAwsAccountId()
The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.
|
String |
getDashboardId()
The ID for the dashboard.
|
List<ResourcePermission> |
getGrantPermissions()
The permissions that you want to grant on this resource.
|
List<ResourcePermission> |
getRevokePermissions()
The permissions that you want to revoke from this resource.
|
int |
hashCode() |
void |
setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.
|
void |
setDashboardId(String dashboardId)
The ID for the dashboard.
|
void |
setGrantPermissions(Collection<ResourcePermission> grantPermissions)
The permissions that you want to grant on this resource.
|
void |
setRevokePermissions(Collection<ResourcePermission> revokePermissions)
The permissions that you want to revoke from this resource.
|
String |
toString()
Returns a string representation of this object.
|
UpdateDashboardPermissionsRequest |
withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.
|
UpdateDashboardPermissionsRequest |
withDashboardId(String dashboardId)
The ID for the dashboard.
|
UpdateDashboardPermissionsRequest |
withGrantPermissions(Collection<ResourcePermission> grantPermissions)
The permissions that you want to grant on this resource.
|
UpdateDashboardPermissionsRequest |
withGrantPermissions(ResourcePermission... grantPermissions)
The permissions that you want to grant on this resource.
|
UpdateDashboardPermissionsRequest |
withRevokePermissions(Collection<ResourcePermission> revokePermissions)
The permissions that you want to revoke from this resource.
|
UpdateDashboardPermissionsRequest |
withRevokePermissions(ResourcePermission... revokePermissions)
The permissions that you want to revoke from this resource.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.
awsAccountId
- The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.public String getAwsAccountId()
The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.
public UpdateDashboardPermissionsRequest withAwsAccountId(String awsAccountId)
The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.
awsAccountId
- The ID of the Amazon Web Services account; that contains the dashboard whose permissions you're updating.public void setDashboardId(String dashboardId)
The ID for the dashboard.
dashboardId
- The ID for the dashboard.public String getDashboardId()
The ID for the dashboard.
public UpdateDashboardPermissionsRequest withDashboardId(String dashboardId)
The ID for the dashboard.
dashboardId
- The ID for the dashboard.public List<ResourcePermission> getGrantPermissions()
The permissions that you want to grant on this resource.
public void setGrantPermissions(Collection<ResourcePermission> grantPermissions)
The permissions that you want to grant on this resource.
grantPermissions
- The permissions that you want to grant on this resource.public UpdateDashboardPermissionsRequest withGrantPermissions(ResourcePermission... grantPermissions)
The permissions that you want to grant on this resource.
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
- The permissions that you want to grant on this resource.public UpdateDashboardPermissionsRequest withGrantPermissions(Collection<ResourcePermission> grantPermissions)
The permissions that you want to grant on this resource.
grantPermissions
- The permissions that you want to grant on this resource.public List<ResourcePermission> getRevokePermissions()
The permissions that you want to revoke from this resource.
public void setRevokePermissions(Collection<ResourcePermission> revokePermissions)
The permissions that you want to revoke from this resource.
revokePermissions
- The permissions that you want to revoke from this resource.public UpdateDashboardPermissionsRequest withRevokePermissions(ResourcePermission... revokePermissions)
The permissions that you want to revoke from this resource.
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
- The permissions that you want to revoke from this resource.public UpdateDashboardPermissionsRequest withRevokePermissions(Collection<ResourcePermission> revokePermissions)
The permissions that you want to revoke from this resource.
revokePermissions
- The permissions that you want to revoke from this resource.public String toString()
toString
in class Object
Object.toString()
public UpdateDashboardPermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()