Class AssessmentTarget

    • Constructor Detail

      • AssessmentTarget

        public AssessmentTarget()
    • Method Detail

      • 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.
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object