@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDashboardPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDashboardPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDashboardPermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getDashboardArn()
The Amazon Resource Name (ARN) of the dashboard.
|
String |
getDashboardId()
The ID for the dashboard.
|
List<ResourcePermission> |
getPermissions()
A structure that contains the permissions for the dashboard.
|
String |
getRequestId()
The AWS request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setDashboardArn(String dashboardArn)
The Amazon Resource Name (ARN) of the dashboard.
|
void |
setDashboardId(String dashboardId)
The ID for the dashboard.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions for the dashboard.
|
void |
setRequestId(String requestId)
The AWS request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDashboardPermissionsResult |
withDashboardArn(String dashboardArn)
The Amazon Resource Name (ARN) of the dashboard.
|
DescribeDashboardPermissionsResult |
withDashboardId(String dashboardId)
The ID for the dashboard.
|
DescribeDashboardPermissionsResult |
withPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions for the dashboard.
|
DescribeDashboardPermissionsResult |
withPermissions(ResourcePermission... permissions)
A structure that contains the permissions for the dashboard.
|
DescribeDashboardPermissionsResult |
withRequestId(String requestId)
The AWS request ID for this operation.
|
DescribeDashboardPermissionsResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeDashboardPermissionsResult withDashboardId(String dashboardId)
The ID for the dashboard.
dashboardId
- The ID for the dashboard.public void setDashboardArn(String dashboardArn)
The Amazon Resource Name (ARN) of the dashboard.
dashboardArn
- The Amazon Resource Name (ARN) of the dashboard.public String getDashboardArn()
The Amazon Resource Name (ARN) of the dashboard.
public DescribeDashboardPermissionsResult withDashboardArn(String dashboardArn)
The Amazon Resource Name (ARN) of the dashboard.
dashboardArn
- The Amazon Resource Name (ARN) of the dashboard.public List<ResourcePermission> getPermissions()
A structure that contains the permissions for the dashboard.
public void setPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions for the dashboard.
permissions
- A structure that contains the permissions for the dashboard.public DescribeDashboardPermissionsResult withPermissions(ResourcePermission... permissions)
A structure that contains the permissions for the dashboard.
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 structure that contains the permissions for the dashboard.public DescribeDashboardPermissionsResult withPermissions(Collection<ResourcePermission> permissions)
A structure that contains the permissions for the dashboard.
permissions
- A structure that contains the permissions for the dashboard.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 DescribeDashboardPermissionsResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.public void setRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public String getRequestId()
The AWS request ID for this operation.
public DescribeDashboardPermissionsResult withRequestId(String requestId)
The AWS request ID for this operation.
requestId
- The AWS request ID for this operation.public String toString()
toString
in class Object
Object.toString()
public DescribeDashboardPermissionsResult clone()