Class AssessmentTarget

java.lang.Object
com.amazonaws.services.inspector.model.AssessmentTarget
All Implemented Interfaces:
Serializable, Cloneable

public class AssessmentTarget extends Object implements Serializable, Cloneable

Contains information about an Amazon Inspector application. This data type is used as the response element in the DescribeAssessmentTargets action.

See Also:
  • Constructor Details

    • AssessmentTarget

      public AssessmentTarget()
  • Method Details

    • setArn

      public void setArn(String arn)

      The ARN that specifies the Amazon Inspector assessment target.

      Parameters:
      arn - The ARN that specifies the Amazon Inspector assessment target.
    • getArn

      public String getArn()

      The ARN that specifies the Amazon Inspector assessment target.

      Returns:
      The ARN that specifies the Amazon Inspector assessment target.
    • withArn

      public AssessmentTarget withArn(String arn)

      The ARN that specifies the Amazon Inspector assessment target.

      Parameters:
      arn - The ARN that specifies the Amazon Inspector assessment target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setName

      public void setName(String name)

      The name of the Amazon Inspector assessment target.

      Parameters:
      name - The name of the Amazon Inspector assessment target.
    • getName

      public String getName()

      The name of the Amazon Inspector assessment target.

      Returns:
      The name of the Amazon Inspector assessment target.
    • withName

      public AssessmentTarget withName(String name)

      The name of the Amazon Inspector assessment target.

      Parameters:
      name - The name of the Amazon Inspector assessment target.
      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 associated with the assessment target.

      Parameters:
      resourceGroupArn - The ARN that specifies the resource group that is associated with the assessment target.
    • getResourceGroupArn

      public String getResourceGroupArn()

      The ARN that specifies the resource group that is associated with the assessment target.

      Returns:
      The ARN that specifies the resource group that is associated with the assessment target.
    • withResourceGroupArn

      public AssessmentTarget withResourceGroupArn(String resourceGroupArn)

      The ARN that specifies the resource group that is associated with the assessment target.

      Parameters:
      resourceGroupArn - The ARN that specifies the resource group that is associated with the assessment target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreatedAt

      public void setCreatedAt(Date createdAt)

      The time at which the assessment target is created.

      Parameters:
      createdAt - The time at which the assessment target is created.
    • getCreatedAt

      public Date getCreatedAt()

      The time at which the assessment target is created.

      Returns:
      The time at which the assessment target is created.
    • withCreatedAt

      public AssessmentTarget withCreatedAt(Date createdAt)

      The time at which the assessment target is created.

      Parameters:
      createdAt - The time at which the assessment target is created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUpdatedAt

      public void setUpdatedAt(Date updatedAt)

      The time at which UpdateAssessmentTarget is called.

      Parameters:
      updatedAt - The time at which UpdateAssessmentTarget is called.
    • getUpdatedAt

      public Date getUpdatedAt()

      The time at which UpdateAssessmentTarget is called.

      Returns:
      The time at which UpdateAssessmentTarget is called.
    • withUpdatedAt

      public AssessmentTarget withUpdatedAt(Date updatedAt)

      The time at which UpdateAssessmentTarget is called.

      Parameters:
      updatedAt - The time at which UpdateAssessmentTarget is called.
      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

      public AssessmentTarget clone()
      Overrides:
      clone in class Object