@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeAnalysisPermissionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeAnalysisPermissionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeAnalysisPermissionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getAnalysisArn()
The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
|
String |
getAnalysisId()
The ID of the analysis whose permissions you're describing.
|
List<ResourcePermission> |
getPermissions()
A structure that describes the principals and the resource-level permissions on an analysis.
|
String |
getRequestId()
The Amazon Web Services request ID for this operation.
|
Integer |
getStatus()
The HTTP status of the request.
|
int |
hashCode() |
void |
setAnalysisArn(String analysisArn)
The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
|
void |
setAnalysisId(String analysisId)
The ID of the analysis whose permissions you're describing.
|
void |
setPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
|
void |
setRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
void |
setStatus(Integer status)
The HTTP status of the request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeAnalysisPermissionsResult |
withAnalysisArn(String analysisArn)
The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
|
DescribeAnalysisPermissionsResult |
withAnalysisId(String analysisId)
The ID of the analysis whose permissions you're describing.
|
DescribeAnalysisPermissionsResult |
withPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
|
DescribeAnalysisPermissionsResult |
withPermissions(ResourcePermission... permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
|
DescribeAnalysisPermissionsResult |
withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
|
DescribeAnalysisPermissionsResult |
withStatus(Integer status)
The HTTP status of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAnalysisId(String analysisId)
The ID of the analysis whose permissions you're describing.
analysisId
- The ID of the analysis whose permissions you're describing.public String getAnalysisId()
The ID of the analysis whose permissions you're describing.
public DescribeAnalysisPermissionsResult withAnalysisId(String analysisId)
The ID of the analysis whose permissions you're describing.
analysisId
- The ID of the analysis whose permissions you're describing.public void setAnalysisArn(String analysisArn)
The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
analysisArn
- The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.public String getAnalysisArn()
The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
public DescribeAnalysisPermissionsResult withAnalysisArn(String analysisArn)
The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.
analysisArn
- The Amazon Resource Name (ARN) of the analysis whose permissions you're describing.public List<ResourcePermission> getPermissions()
A structure that describes the principals and the resource-level permissions on an analysis.
public void setPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
permissions
- A structure that describes the principals and the resource-level permissions on an analysis.public DescribeAnalysisPermissionsResult withPermissions(ResourcePermission... permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
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 describes the principals and the resource-level permissions on an analysis.public DescribeAnalysisPermissionsResult withPermissions(Collection<ResourcePermission> permissions)
A structure that describes the principals and the resource-level permissions on an analysis.
permissions
- A structure that describes the principals and the resource-level permissions on an analysis.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 DescribeAnalysisPermissionsResult withStatus(Integer status)
The HTTP status of the request.
status
- The HTTP status of the request.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 DescribeAnalysisPermissionsResult withRequestId(String requestId)
The Amazon Web Services request ID for this operation.
requestId
- The Amazon Web Services request ID for this operation.public String toString()
toString
in class Object
Object.toString()
public DescribeAnalysisPermissionsResult clone()