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:
  • Constructor Details

    • CreateAssessmentTargetRequest

      public CreateAssessmentTargetRequest()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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 class AmazonWebServiceRequest
      See Also: