Class CreateAssessmentTargetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.inspector.model.CreateAssessmentTargetRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateAssessmentTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateAssessmentTargetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAssessmentTargetRequest
clone()
Creates a shallow clone of this request.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; useful for testing and debugging.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.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setAssessmentTargetName
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.
- Parameters:
assessmentTargetName
- The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
-
getAssessmentTargetName
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.
- Returns:
- The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
-
withAssessmentTargetName
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.
- Parameters:
assessmentTargetName
- The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceGroupArn
public void setResourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is used to create the assessment target.
- Parameters:
resourceGroupArn
- The ARN that specifies the resource group that is used to create the assessment target.
-
getResourceGroupArn
public String getResourceGroupArn()
The ARN that specifies the resource group that is used to create the assessment target.
- Returns:
- The ARN that specifies the resource group that is used to create the assessment target.
-
withResourceGroupArn
public CreateAssessmentTargetRequest withResourceGroupArn(String resourceGroupArn)
The ARN that specifies the resource group that is used to create the assessment target.
- Parameters:
resourceGroupArn
- The ARN that specifies the resource group that is used to create the assessment target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateAssessmentTargetRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-