Class UpdateAssessmentTargetRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.inspector.model.UpdateAssessmentTargetRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class UpdateAssessmentTargetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateAssessmentTargetRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAssessmentTargetRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getAssessmentTargetArn()
The ARN of the assessment target that you want to update.String
getAssessmentTargetName()
The name of the assessment target that you want to update.String
getResourceGroupArn()
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.int
hashCode()
void
setAssessmentTargetArn(String assessmentTargetArn)
The ARN of the assessment target that you want to update.void
setAssessmentTargetName(String assessmentTargetName)
The name of the assessment target that you want to update.void
setResourceGroupArn(String resourceGroupArn)
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.String
toString()
Returns a string representation of this object; useful for testing and debugging.UpdateAssessmentTargetRequest
withAssessmentTargetArn(String assessmentTargetArn)
The ARN of the assessment target that you want to update.UpdateAssessmentTargetRequest
withAssessmentTargetName(String assessmentTargetName)
The name of the assessment target that you want to update.UpdateAssessmentTargetRequest
withResourceGroupArn(String resourceGroupArn)
The ARN of the resource group that is used to specify the new resource group to associate with 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
-
setAssessmentTargetArn
public void setAssessmentTargetArn(String assessmentTargetArn)
The ARN of the assessment target that you want to update.
- Parameters:
assessmentTargetArn
- The ARN of the assessment target that you want to update.
-
getAssessmentTargetArn
public String getAssessmentTargetArn()
The ARN of the assessment target that you want to update.
- Returns:
- The ARN of the assessment target that you want to update.
-
withAssessmentTargetArn
public UpdateAssessmentTargetRequest withAssessmentTargetArn(String assessmentTargetArn)
The ARN of the assessment target that you want to update.
- Parameters:
assessmentTargetArn
- The ARN of the assessment target that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssessmentTargetName
public void setAssessmentTargetName(String assessmentTargetName)
The name of the assessment target that you want to update.
- Parameters:
assessmentTargetName
- The name of the assessment target that you want to update.
-
getAssessmentTargetName
public String getAssessmentTargetName()
The name of the assessment target that you want to update.
- Returns:
- The name of the assessment target that you want to update.
-
withAssessmentTargetName
public UpdateAssessmentTargetRequest withAssessmentTargetName(String assessmentTargetName)
The name of the assessment target that you want to update.
- Parameters:
assessmentTargetName
- The name of the assessment target that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setResourceGroupArn
public void setResourceGroupArn(String resourceGroupArn)
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
- Parameters:
resourceGroupArn
- The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
-
getResourceGroupArn
public String getResourceGroupArn()
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
- Returns:
- The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
-
withResourceGroupArn
public UpdateAssessmentTargetRequest withResourceGroupArn(String resourceGroupArn)
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
- Parameters:
resourceGroupArn
- The ARN of the resource group that is used to specify the new resource group to associate with 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 UpdateAssessmentTargetRequest 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()
-
-