Class StartAssessmentRunRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.inspector.model.StartAssessmentRunRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class StartAssessmentRunRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description StartAssessmentRunRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartAssessmentRunRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getAssessmentRunName()
You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name.String
getAssessmentTemplateArn()
The ARN of the assessment template of the assessment run that you want to start.int
hashCode()
void
setAssessmentRunName(String assessmentRunName)
You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name.void
setAssessmentTemplateArn(String assessmentTemplateArn)
The ARN of the assessment template of the assessment run that you want to start.String
toString()
Returns a string representation of this object; useful for testing and debugging.StartAssessmentRunRequest
withAssessmentRunName(String assessmentRunName)
You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name.StartAssessmentRunRequest
withAssessmentTemplateArn(String assessmentTemplateArn)
The ARN of the assessment template of the assessment run that you want to start.-
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
-
setAssessmentTemplateArn
public void setAssessmentTemplateArn(String assessmentTemplateArn)
The ARN of the assessment template of the assessment run that you want to start.
- Parameters:
assessmentTemplateArn
- The ARN of the assessment template of the assessment run that you want to start.
-
getAssessmentTemplateArn
public String getAssessmentTemplateArn()
The ARN of the assessment template of the assessment run that you want to start.
- Returns:
- The ARN of the assessment template of the assessment run that you want to start.
-
withAssessmentTemplateArn
public StartAssessmentRunRequest withAssessmentTemplateArn(String assessmentTemplateArn)
The ARN of the assessment template of the assessment run that you want to start.
- Parameters:
assessmentTemplateArn
- The ARN of the assessment template of the assessment run that you want to start.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAssessmentRunName
public void setAssessmentRunName(String assessmentRunName)
You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template.
- Parameters:
assessmentRunName
- You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template.
-
getAssessmentRunName
public String getAssessmentRunName()
You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template.
- Returns:
- You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template.
-
withAssessmentRunName
public StartAssessmentRunRequest withAssessmentRunName(String assessmentRunName)
You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template.
- Parameters:
assessmentRunName
- You can specify the name for the assessment run, or you can use the auto-generated name that is based on the assessment template name. The name must be unique for the assessment template.- 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 StartAssessmentRunRequest 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()
-
-