@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssessmentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssessmentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssessmentRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateAssessmentRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateAssessmentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AssessmentReportsDestination |
getAssessmentReportsDestination()
The assessment report storage destination for the specified assessment that is being created.
|
String |
getDescription()
The optional description of the assessment to be created.
|
String |
getFrameworkId()
The identifier for the specified framework.
|
String |
getName()
The name of the assessment to be created.
|
List<Role> |
getRoles()
The list of roles for the specified assessment.
|
Scope |
getScope() |
Map<String,String> |
getTags()
The tags associated with the assessment.
|
int |
hashCode() |
void |
setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being created.
|
void |
setDescription(String description)
The optional description of the assessment to be created.
|
void |
setFrameworkId(String frameworkId)
The identifier for the specified framework.
|
void |
setName(String name)
The name of the assessment to be created.
|
void |
setRoles(Collection<Role> roles)
The list of roles for the specified assessment.
|
void |
setScope(Scope scope) |
void |
setTags(Map<String,String> tags)
The tags associated with the assessment.
|
String |
toString()
Returns a string representation of this object.
|
CreateAssessmentRequest |
withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being created.
|
CreateAssessmentRequest |
withDescription(String description)
The optional description of the assessment to be created.
|
CreateAssessmentRequest |
withFrameworkId(String frameworkId)
The identifier for the specified framework.
|
CreateAssessmentRequest |
withName(String name)
The name of the assessment to be created.
|
CreateAssessmentRequest |
withRoles(Collection<Role> roles)
The list of roles for the specified assessment.
|
CreateAssessmentRequest |
withRoles(Role... roles)
The list of roles for the specified assessment.
|
CreateAssessmentRequest |
withScope(Scope scope) |
CreateAssessmentRequest |
withTags(Map<String,String> tags)
The tags associated with 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 setName(String name)
The name of the assessment to be created.
name
- The name of the assessment to be created.public String getName()
The name of the assessment to be created.
public CreateAssessmentRequest withName(String name)
The name of the assessment to be created.
name
- The name of the assessment to be created.public void setDescription(String description)
The optional description of the assessment to be created.
description
- The optional description of the assessment to be created.public String getDescription()
The optional description of the assessment to be created.
public CreateAssessmentRequest withDescription(String description)
The optional description of the assessment to be created.
description
- The optional description of the assessment to be created.public void setAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being created.
assessmentReportsDestination
- The assessment report storage destination for the specified assessment that is being created.public AssessmentReportsDestination getAssessmentReportsDestination()
The assessment report storage destination for the specified assessment that is being created.
public CreateAssessmentRequest withAssessmentReportsDestination(AssessmentReportsDestination assessmentReportsDestination)
The assessment report storage destination for the specified assessment that is being created.
assessmentReportsDestination
- The assessment report storage destination for the specified assessment that is being created.public void setScope(Scope scope)
scope
- public Scope getScope()
public CreateAssessmentRequest withScope(Scope scope)
scope
- 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 CreateAssessmentRequest 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 CreateAssessmentRequest withRoles(Collection<Role> roles)
The list of roles for the specified assessment.
roles
- The list of roles for the specified assessment.public void setFrameworkId(String frameworkId)
The identifier for the specified framework.
frameworkId
- The identifier for the specified framework.public String getFrameworkId()
The identifier for the specified framework.
public CreateAssessmentRequest withFrameworkId(String frameworkId)
The identifier for the specified framework.
frameworkId
- The identifier for the specified framework.public Map<String,String> getTags()
The tags associated with the assessment.
public void setTags(Map<String,String> tags)
The tags associated with the assessment.
tags
- The tags associated with the assessment.public CreateAssessmentRequest withTags(Map<String,String> tags)
The tags associated with the assessment.
tags
- The tags associated with the assessment.public CreateAssessmentRequest addTagsEntry(String key, String value)
public CreateAssessmentRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateAssessmentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()