@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDetectorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDetectorResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDetectorResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The detector ARN.
|
String |
getDetectorId()
The detector ID.
|
List<DetectorVersionSummary> |
getDetectorVersionSummaries()
The status and description for each detector version.
|
String |
getNextToken()
The next token to be used for subsequent requests.
|
int |
hashCode() |
void |
setArn(String arn)
The detector ARN.
|
void |
setDetectorId(String detectorId)
The detector ID.
|
void |
setDetectorVersionSummaries(Collection<DetectorVersionSummary> detectorVersionSummaries)
The status and description for each detector version.
|
void |
setNextToken(String nextToken)
The next token to be used for subsequent requests.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDetectorResult |
withArn(String arn)
The detector ARN.
|
DescribeDetectorResult |
withDetectorId(String detectorId)
The detector ID.
|
DescribeDetectorResult |
withDetectorVersionSummaries(Collection<DetectorVersionSummary> detectorVersionSummaries)
The status and description for each detector version.
|
DescribeDetectorResult |
withDetectorVersionSummaries(DetectorVersionSummary... detectorVersionSummaries)
The status and description for each detector version.
|
DescribeDetectorResult |
withNextToken(String nextToken)
The next token to be used for subsequent requests.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDetectorId(String detectorId)
The detector ID.
detectorId
- The detector ID.public String getDetectorId()
The detector ID.
public DescribeDetectorResult withDetectorId(String detectorId)
The detector ID.
detectorId
- The detector ID.public List<DetectorVersionSummary> getDetectorVersionSummaries()
The status and description for each detector version.
public void setDetectorVersionSummaries(Collection<DetectorVersionSummary> detectorVersionSummaries)
The status and description for each detector version.
detectorVersionSummaries
- The status and description for each detector version.public DescribeDetectorResult withDetectorVersionSummaries(DetectorVersionSummary... detectorVersionSummaries)
The status and description for each detector version.
NOTE: This method appends the values to the existing list (if any). Use
setDetectorVersionSummaries(java.util.Collection)
or
withDetectorVersionSummaries(java.util.Collection)
if you want to override the existing values.
detectorVersionSummaries
- The status and description for each detector version.public DescribeDetectorResult withDetectorVersionSummaries(Collection<DetectorVersionSummary> detectorVersionSummaries)
The status and description for each detector version.
detectorVersionSummaries
- The status and description for each detector version.public void setNextToken(String nextToken)
The next token to be used for subsequent requests.
nextToken
- The next token to be used for subsequent requests.public String getNextToken()
The next token to be used for subsequent requests.
public DescribeDetectorResult withNextToken(String nextToken)
The next token to be used for subsequent requests.
nextToken
- The next token to be used for subsequent requests.public void setArn(String arn)
The detector ARN.
arn
- The detector ARN.public String getArn()
The detector ARN.
public DescribeDetectorResult withArn(String arn)
The detector ARN.
arn
- The detector ARN.public String toString()
toString
in class Object
Object.toString()
public DescribeDetectorResult clone()