Interface ScraperSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ScraperSummary.Builder,ScraperSummary>,SdkBuilder<ScraperSummary.Builder,ScraperSummary>,SdkPojo
- Enclosing class:
- ScraperSummary
public static interface ScraperSummary.Builder extends SdkPojo, CopyableBuilder<ScraperSummary.Builder,ScraperSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ScraperSummary.Builderalias(String alias)Alias of this scraper.ScraperSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of this scraper.ScraperSummary.BuildercreatedAt(Instant createdAt)The time when the scraper was created.default ScraperSummary.Builderdestination(Consumer<Destination.Builder> destination)The destination that the scraper is producing metrics to.ScraperSummary.Builderdestination(Destination destination)The destination that the scraper is producing metrics to.ScraperSummary.BuilderlastModifiedAt(Instant lastModifiedAt)The time when the scraper was last modified.ScraperSummary.BuilderroleArn(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.BuilderscraperId(String scraperId)Unique string identifying this scraper.default ScraperSummary.Buildersource(Consumer<Source.Builder> source)The source that the scraper is discovering and collecting metrics from.ScraperSummary.Buildersource(Source source)The source that the scraper is discovering and collecting metrics from.default ScraperSummary.Builderstatus(Consumer<ScraperStatus.Builder> status)The status of this scraper.ScraperSummary.Builderstatus(ScraperStatus status)The status of this scraper.ScraperSummary.BuilderstatusReason(String statusReason)The reason for failure if any.ScraperSummary.Buildertags(Map<String,String> tags)The tags of this scraper.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
alias
ScraperSummary.Builder alias(String alias)
Alias of this scraper.
- Parameters:
alias- Alias of this scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scraperId
ScraperSummary.Builder scraperId(String scraperId)
Unique string identifying this scraper.
- Parameters:
scraperId- Unique string identifying this scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
ScraperSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of this scraper.
- Parameters:
arn- The Amazon Resource Name (ARN) of this scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
ScraperSummary.Builder roleArn(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
ScraperSummary.Builder status(ScraperStatus status)
The status of this scraper.
- Parameters:
status- The status of this scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default ScraperSummary.Builder status(Consumer<ScraperStatus.Builder> status)
The status of this scraper.
This is a convenience method that creates an instance of theScraperStatus.Builderavoiding the need to create one manually viaScraperStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ScraperStatus).- Parameters:
status- a consumer that will call methods onScraperStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(ScraperStatus)
-
createdAt
ScraperSummary.Builder createdAt(Instant createdAt)
The time when the scraper was created.
- Parameters:
createdAt- The time when the scraper was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedAt
ScraperSummary.Builder lastModifiedAt(Instant lastModifiedAt)
The time when the scraper was last modified.
- Parameters:
lastModifiedAt- The time when the scraper was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ScraperSummary.Builder tags(Map<String,String> tags)
The tags of this scraper.
- Parameters:
tags- The tags of this scraper.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReason
ScraperSummary.Builder statusReason(String statusReason)
The reason for failure if any.
- Parameters:
statusReason- The reason for failure if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
ScraperSummary.Builder source(Source source)
The source that the scraper is discovering and collecting metrics from.
- Parameters:
source- The source that the scraper is discovering and collecting metrics from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default ScraperSummary.Builder source(Consumer<Source.Builder> source)
The source that the scraper is discovering and collecting metrics from.
This is a convenience method that creates an instance of theSource.Builderavoiding the need to create one manually viaSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(Source).- Parameters:
source- a consumer that will call methods onSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(Source)
-
destination
ScraperSummary.Builder destination(Destination destination)
The destination that the scraper is producing metrics to.
- Parameters:
destination- The destination that the scraper is producing metrics to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destination
default ScraperSummary.Builder destination(Consumer<Destination.Builder> destination)
The destination that the scraper is producing metrics to.
This is a convenience method that creates an instance of theDestination.Builderavoiding the need to create one manually viaDestination.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestination(Destination).- Parameters:
destination- a consumer that will call methods onDestination.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destination(Destination)
-
-