@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAssessmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAssessmentRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAssessmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssessmentDescription()
The description of the specified assessment.
|
String |
getAssessmentId()
The identifier for the specified assessment.
|
String |
getAssessmentName()
The name of the specified assessment to be updated.
|
AssessmentReportsDestination |
getAssessmentReportsDestination()
The assessment report storage destination for the specified assessment that is being updated.
|
List<Role> |
getRoles()
The list of roles for the specified assessment.
|
Scope |
getScope()
The scope of the specified assessment.
|
int |
hashCode() |
void |
setAssessmentDescription(String assessmentDescription)
The description of the specified assessment.
|
void |
setAssessmentId(String assessmentId)
The identifier for the specified assessment.
|
void |
setAssessmentName(String assessmentName)
The name of the specified assessment to be updated.
|
void |
setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being updated.
|
void |
setRoles(Collection<Role> roles)
The list of roles for the specified assessment.
|
void |
setScope(Scope scope)
The scope of the specified assessment.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAssessmentRequest |
withAssessmentDescription(String assessmentDescription)
The description of the specified assessment.
|
UpdateAssessmentRequest |
withAssessmentId(String assessmentId)
The identifier for the specified assessment.
|
UpdateAssessmentRequest |
withAssessmentName(String assessmentName)
The name of the specified assessment to be updated.
|
UpdateAssessmentRequest |
withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being updated.
|
UpdateAssessmentRequest |
withRoles(Collection<Role> roles)
The list of roles for the specified assessment.
|
UpdateAssessmentRequest |
withRoles(Role... roles)
The list of roles for the specified assessment.
|
UpdateAssessmentRequest |
withScope(Scope scope)
The scope of the specified assessment.
|
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 setAssessmentId(String assessmentId)
The identifier for the specified assessment.
assessmentId
- The identifier for the specified assessment.public String getAssessmentId()
The identifier for the specified assessment.
public UpdateAssessmentRequest withAssessmentId(String assessmentId)
The identifier for the specified assessment.
assessmentId
- The identifier for the specified assessment.public void setAssessmentName(String assessmentName)
The name of the specified assessment to be updated.
assessmentName
- The name of the specified assessment to be updated.public String getAssessmentName()
The name of the specified assessment to be updated.
public UpdateAssessmentRequest withAssessmentName(String assessmentName)
The name of the specified assessment to be updated.
assessmentName
- The name of the specified assessment to be updated.public void setAssessmentDescription(String assessmentDescription)
The description of the specified assessment.
assessmentDescription
- The description of the specified assessment.public String getAssessmentDescription()
The description of the specified assessment.
public UpdateAssessmentRequest withAssessmentDescription(String assessmentDescription)
The description of the specified assessment.
assessmentDescription
- The description of the specified assessment.public void setScope(Scope scope)
The scope of the specified assessment.
scope
- The scope of the specified assessment.public Scope getScope()
The scope of the specified assessment.
public UpdateAssessmentRequest withScope(Scope scope)
The scope of the specified assessment.
scope
- The scope of the specified assessment.public void setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being updated.
assessmentReportsDestination
- The assessment report storage destination for the specified assessment that is being updated.public AssessmentReportsDestination getAssessmentReportsDestination()
The assessment report storage destination for the specified assessment that is being updated.
public UpdateAssessmentRequest withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being updated.
assessmentReportsDestination
- The assessment report storage destination for the specified assessment that is being updated.public List<Role> getRoles()
The list of roles for the specified assessment.
public void setRoles(Collection<Role> roles)
The list of roles for the specified assessment.
roles
- The list of roles for the specified assessment.public UpdateAssessmentRequest withRoles(Role... roles)
The list of roles for the specified assessment.
NOTE: This method appends the values to the existing list (if any). Use
setRoles(java.util.Collection)
or withRoles(java.util.Collection)
if you want to override the
existing values.
roles
- The list of roles for the specified assessment.public UpdateAssessmentRequest withRoles(Collection<Role> roles)
The list of roles for the specified assessment.
roles
- The list of roles for the specified assessment.public String toString()
toString
in class Object
Object.toString()
public UpdateAssessmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()