@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 assessment.
|
String |
getAssessmentId()
The unique identifier for the assessment.
|
String |
getAssessmentName()
The name of the assessment to be updated.
|
AssessmentReportsDestination |
getAssessmentReportsDestination()
The assessment report storage destination for the assessment that's being updated.
|
List<Role> |
getRoles()
The list of roles for the assessment.
|
Scope |
getScope()
The scope of the assessment.
|
int |
hashCode() |
void |
setAssessmentDescription(String assessmentDescription)
The description of the assessment.
|
void |
setAssessmentId(String assessmentId)
The unique identifier for the assessment.
|
void |
setAssessmentName(String assessmentName)
The name of the assessment to be updated.
|
void |
setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the assessment that's being updated.
|
void |
setRoles(Collection<Role> roles)
The list of roles for the assessment.
|
void |
setScope(Scope scope)
The scope of the assessment.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAssessmentRequest |
withAssessmentDescription(String assessmentDescription)
The description of the assessment.
|
UpdateAssessmentRequest |
withAssessmentId(String assessmentId)
The unique identifier for the assessment.
|
UpdateAssessmentRequest |
withAssessmentName(String assessmentName)
The name of the assessment to be updated.
|
UpdateAssessmentRequest |
withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the assessment that's being updated.
|
UpdateAssessmentRequest |
withRoles(Collection<Role> roles)
The list of roles for the assessment.
|
UpdateAssessmentRequest |
withRoles(Role... roles)
The list of roles for the assessment.
|
UpdateAssessmentRequest |
withScope(Scope scope)
The scope of the 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 unique identifier for the assessment.
assessmentId
- The unique identifier for the assessment.public String getAssessmentId()
The unique identifier for the assessment.
public UpdateAssessmentRequest withAssessmentId(String assessmentId)
The unique identifier for the assessment.
assessmentId
- The unique identifier for the assessment.public void setAssessmentName(String assessmentName)
The name of the assessment to be updated.
assessmentName
- The name of the assessment to be updated.public String getAssessmentName()
The name of the assessment to be updated.
public UpdateAssessmentRequest withAssessmentName(String assessmentName)
The name of the assessment to be updated.
assessmentName
- The name of the assessment to be updated.public void setAssessmentDescription(String assessmentDescription)
The description of the assessment.
assessmentDescription
- The description of the assessment.public String getAssessmentDescription()
The description of the assessment.
public UpdateAssessmentRequest withAssessmentDescription(String assessmentDescription)
The description of the assessment.
assessmentDescription
- The description of the assessment.public void setScope(Scope scope)
The scope of the assessment.
scope
- The scope of the assessment.public Scope getScope()
The scope of the assessment.
public UpdateAssessmentRequest withScope(Scope scope)
The scope of the assessment.
scope
- The scope of the assessment.public void setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the assessment that's being updated.
assessmentReportsDestination
- The assessment report storage destination for the assessment that's being updated.public AssessmentReportsDestination getAssessmentReportsDestination()
The assessment report storage destination for the assessment that's being updated.
public UpdateAssessmentRequest withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the assessment that's being updated.
assessmentReportsDestination
- The assessment report storage destination for the assessment that's being updated.public List<Role> getRoles()
The list of roles for the assessment.
public void setRoles(Collection<Role> roles)
The list of roles for the assessment.
roles
- The list of roles for the assessment.public UpdateAssessmentRequest withRoles(Role... roles)
The list of roles for the 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 assessment.public UpdateAssessmentRequest withRoles(Collection<Role> roles)
The list of roles for the assessment.
roles
- The list of roles for the assessment.public String toString()
toString
in class Object
Object.toString()
public UpdateAssessmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()