@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScraperSummary extends Object implements Serializable, Cloneable, StructuredPojo
Represents a summary of the properties of a scraper.
Constructor and Description |
---|
ScraperSummary() |
Modifier and Type | Method and Description |
---|---|
ScraperSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ScraperSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ScraperSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAlias()
Alias of this scraper.
|
String |
getArn()
The Amazon Resource Name (ARN) of this scraper.
|
Date |
getCreatedAt()
The time when the scraper was created.
|
Destination |
getDestination()
The destination that the scraper is producing metrics to.
|
Date |
getLastModifiedAt()
The time when the scraper was last modified.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect,
and produce metrics on your behalf.
|
String |
getScraperId()
Unique string identifying this scraper.
|
Source |
getSource()
The source that the scraper is discovering and collecting metrics from.
|
ScraperStatus |
getStatus()
The status of this scraper.
|
String |
getStatusReason()
The reason for failure if any.
|
Map<String,String> |
getTags()
The tags of this scraper.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlias(String alias)
Alias of this scraper.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of this scraper.
|
void |
setCreatedAt(Date createdAt)
The time when the scraper was created.
|
void |
setDestination(Destination destination)
The destination that the scraper is producing metrics to.
|
void |
setLastModifiedAt(Date lastModifiedAt)
The time when the scraper was last modified.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect,
and produce metrics on your behalf.
|
void |
setScraperId(String scraperId)
Unique string identifying this scraper.
|
void |
setSource(Source source)
The source that the scraper is discovering and collecting metrics from.
|
void |
setStatus(ScraperStatus status)
The status of this scraper.
|
void |
setStatusReason(String statusReason)
The reason for failure if any.
|
void |
setTags(Map<String,String> tags)
The tags of this scraper.
|
String |
toString()
Returns a string representation of this object.
|
ScraperSummary |
withAlias(String alias)
Alias of this scraper.
|
ScraperSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of this scraper.
|
ScraperSummary |
withCreatedAt(Date createdAt)
The time when the scraper was created.
|
ScraperSummary |
withDestination(Destination destination)
The destination that the scraper is producing metrics to.
|
ScraperSummary |
withLastModifiedAt(Date lastModifiedAt)
The time when the scraper was last modified.
|
ScraperSummary |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect,
and produce metrics on your behalf.
|
ScraperSummary |
withScraperId(String scraperId)
Unique string identifying this scraper.
|
ScraperSummary |
withSource(Source source)
The source that the scraper is discovering and collecting metrics from.
|
ScraperSummary |
withStatus(ScraperStatus status)
The status of this scraper.
|
ScraperSummary |
withStatusReason(String statusReason)
The reason for failure if any.
|
ScraperSummary |
withTags(Map<String,String> tags)
The tags of this scraper.
|
public void setAlias(String alias)
Alias of this scraper.
alias
- Alias of this scraper.public String getAlias()
Alias of this scraper.
public ScraperSummary withAlias(String alias)
Alias of this scraper.
alias
- Alias of this scraper.public void setScraperId(String scraperId)
Unique string identifying this scraper.
scraperId
- Unique string identifying this scraper.public String getScraperId()
Unique string identifying this scraper.
public ScraperSummary withScraperId(String scraperId)
Unique string identifying this scraper.
scraperId
- Unique string identifying this scraper.public void setArn(String arn)
The Amazon Resource Name (ARN) of this scraper.
arn
- The Amazon Resource Name (ARN) of this scraper.public String getArn()
The Amazon Resource Name (ARN) of this scraper.
public ScraperSummary withArn(String arn)
The Amazon Resource Name (ARN) of this scraper.
arn
- The Amazon Resource Name (ARN) of this scraper.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover,
collect, and produce metrics on your behalf.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
public ScraperSummary withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover, collect, and produce metrics on your behalf.
roleArn
- The Amazon Resource Name (ARN) of the IAM role that provides permissions for the scraper to dsicover,
collect, and produce metrics on your behalf.public void setStatus(ScraperStatus status)
The status of this scraper.
status
- The status of this scraper.public ScraperStatus getStatus()
The status of this scraper.
public ScraperSummary withStatus(ScraperStatus status)
The status of this scraper.
status
- The status of this scraper.public void setCreatedAt(Date createdAt)
The time when the scraper was created.
createdAt
- The time when the scraper was created.public Date getCreatedAt()
The time when the scraper was created.
public ScraperSummary withCreatedAt(Date createdAt)
The time when the scraper was created.
createdAt
- The time when the scraper was created.public void setLastModifiedAt(Date lastModifiedAt)
The time when the scraper was last modified.
lastModifiedAt
- The time when the scraper was last modified.public Date getLastModifiedAt()
The time when the scraper was last modified.
public ScraperSummary withLastModifiedAt(Date lastModifiedAt)
The time when the scraper was last modified.
lastModifiedAt
- The time when the scraper was last modified.public Map<String,String> getTags()
The tags of this scraper.
public void setTags(Map<String,String> tags)
The tags of this scraper.
tags
- The tags of this scraper.public ScraperSummary withTags(Map<String,String> tags)
The tags of this scraper.
tags
- The tags of this scraper.public ScraperSummary addTagsEntry(String key, String value)
public ScraperSummary clearTagsEntries()
public void setStatusReason(String statusReason)
The reason for failure if any.
statusReason
- The reason for failure if any.public String getStatusReason()
The reason for failure if any.
public ScraperSummary withStatusReason(String statusReason)
The reason for failure if any.
statusReason
- The reason for failure if any.public void setSource(Source source)
The source that the scraper is discovering and collecting metrics from.
source
- The source that the scraper is discovering and collecting metrics from.public Source getSource()
The source that the scraper is discovering and collecting metrics from.
public ScraperSummary withSource(Source source)
The source that the scraper is discovering and collecting metrics from.
source
- The source that the scraper is discovering and collecting metrics from.public void setDestination(Destination destination)
The destination that the scraper is producing metrics to.
destination
- The destination that the scraper is producing metrics to.public Destination getDestination()
The destination that the scraper is producing metrics to.
public ScraperSummary withDestination(Destination destination)
The destination that the scraper is producing metrics to.
destination
- The destination that the scraper is producing metrics to.public String toString()
toString
in class Object
Object.toString()
public ScraperSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.