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