@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> |
getGrantLinkPermissions()
Grants link permissions to all users in a defined namespace.
|
List<ResourcePermission> |
getGrantPermissions()
The permissions that you want to grant on this resource.
|
List<ResourcePermission> |
getRevokeLinkPermissions()
Revokes link permissions from all users in a defined namespace.
|
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 |
setGrantLinkPermissions(Collection<ResourcePermission> grantLinkPermissions)
Grants link permissions to all users in a defined namespace.
|
void |
setGrantPermissions(Collection<ResourcePermission> grantPermissions)
The permissions that you want to grant on this resource.
|
void |
setRevokeLinkPermissions(Collection<ResourcePermission> revokeLinkPermissions)
Revokes link permissions from all users in a defined namespace.
|
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 |
withGrantLinkPermissions(Collection<ResourcePermission> grantLinkPermissions)
Grants link permissions to all users in a defined namespace.
|
UpdateDashboardPermissionsRequest |
withGrantLinkPermissions(ResourcePermission... grantLinkPermissions)
Grants link permissions to all users in a defined namespace.
|
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 |
withRevokeLinkPermissions(Collection<ResourcePermission> revokeLinkPermissions)
Revokes link permissions from all users in a defined namespace.
|
UpdateDashboardPermissionsRequest |
withRevokeLinkPermissions(ResourcePermission... revokeLinkPermissions)
Revokes link permissions from all users in a defined namespace.
|
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 List<ResourcePermission> getGrantLinkPermissions()
Grants link permissions to all users in a defined namespace.
public void setGrantLinkPermissions(Collection<ResourcePermission> grantLinkPermissions)
Grants link permissions to all users in a defined namespace.
grantLinkPermissions
- Grants link permissions to all users in a defined namespace.public UpdateDashboardPermissionsRequest withGrantLinkPermissions(ResourcePermission... grantLinkPermissions)
Grants link permissions to all users in a defined namespace.
NOTE: This method appends the values to the existing list (if any). Use
setGrantLinkPermissions(java.util.Collection)
or withGrantLinkPermissions(java.util.Collection)
if you want to override the existing values.
grantLinkPermissions
- Grants link permissions to all users in a defined namespace.public UpdateDashboardPermissionsRequest withGrantLinkPermissions(Collection<ResourcePermission> grantLinkPermissions)
Grants link permissions to all users in a defined namespace.
grantLinkPermissions
- Grants link permissions to all users in a defined namespace.public List<ResourcePermission> getRevokeLinkPermissions()
Revokes link permissions from all users in a defined namespace.
public void setRevokeLinkPermissions(Collection<ResourcePermission> revokeLinkPermissions)
Revokes link permissions from all users in a defined namespace.
revokeLinkPermissions
- Revokes link permissions from all users in a defined namespace.public UpdateDashboardPermissionsRequest withRevokeLinkPermissions(ResourcePermission... revokeLinkPermissions)
Revokes link permissions from all users in a defined namespace.
NOTE: This method appends the values to the existing list (if any). Use
setRevokeLinkPermissions(java.util.Collection)
or
withRevokeLinkPermissions(java.util.Collection)
if you want to override the existing values.
revokeLinkPermissions
- Revokes link permissions from all users in a defined namespace.public UpdateDashboardPermissionsRequest withRevokeLinkPermissions(Collection<ResourcePermission> revokeLinkPermissions)
Revokes link permissions from all users in a defined namespace.
revokeLinkPermissions
- Revokes link permissions from all users in a defined namespace.public String toString()
toString
in class Object
Object.toString()
public UpdateDashboardPermissionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()