@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateAssessmentTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateAssessmentTargetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateAssessmentTargetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssessmentTargetName()
The user-defined name that identifies the assessment target that you want to create.
|
String |
getResourceGroupArn()
The ARN that specifies the resource group that is used to create the assessment target.
|
int |
hashCode() |
void |
setAssessmentTargetName(String assessmentTargetName)
The user-defined name that identifies the assessment target that you want to create.
|
void |
setResourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is used to create the assessment target.
|
String |
toString()
Returns a string representation of this object.
|
CreateAssessmentTargetRequest |
withAssessmentTargetName(String assessmentTargetName)
The user-defined name that identifies the assessment target that you want to create.
|
CreateAssessmentTargetRequest |
withResourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is used to create the assessment target.
|
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 setAssessmentTargetName(String assessmentTargetName)
The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
assessmentTargetName
- The user-defined name that identifies the assessment target that you want to create. The name must be
unique within the AWS account.public String getAssessmentTargetName()
The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
public CreateAssessmentTargetRequest withAssessmentTargetName(String assessmentTargetName)
The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
assessmentTargetName
- The user-defined name that identifies the assessment target that you want to create. The name must be
unique within the AWS account.public void setResourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
resourceGroupArn
- The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in
the assessment target.public String getResourceGroupArn()
The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
public CreateAssessmentTargetRequest withResourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
resourceGroupArn
- The ARN that specifies the resource group that is used to create the assessment target. If
resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in
the assessment target.public String toString()
toString
in class Object
Object.toString()
public CreateAssessmentTargetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()