Interface ProactiveInsightSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProactiveInsightSummary.Builder,ProactiveInsightSummary>,SdkBuilder<ProactiveInsightSummary.Builder,ProactiveInsightSummary>,SdkPojo
- Enclosing class:
- ProactiveInsightSummary
public static interface ProactiveInsightSummary.Builder extends SdkPojo, CopyableBuilder<ProactiveInsightSummary.Builder,ProactiveInsightSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProactiveInsightSummary.BuilderassociatedResourceArns(String... associatedResourceArns)The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.ProactiveInsightSummary.BuilderassociatedResourceArns(Collection<String> associatedResourceArns)The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.ProactiveInsightSummary.Builderid(String id)The ID of the proactive insight.default ProactiveInsightSummary.BuilderinsightTimeRange(Consumer<InsightTimeRange.Builder> insightTimeRange)Sets the value of the InsightTimeRange property for this object.ProactiveInsightSummary.BuilderinsightTimeRange(InsightTimeRange insightTimeRange)Sets the value of the InsightTimeRange property for this object.ProactiveInsightSummary.Buildername(String name)The name of the proactive insight.default ProactiveInsightSummary.BuilderpredictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)Sets the value of the PredictionTimeRange property for this object.ProactiveInsightSummary.BuilderpredictionTimeRange(PredictionTimeRange predictionTimeRange)Sets the value of the PredictionTimeRange property for this object.default ProactiveInsightSummary.BuilderresourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)Sets the value of the ResourceCollection property for this object.ProactiveInsightSummary.BuilderresourceCollection(ResourceCollection resourceCollection)Sets the value of the ResourceCollection property for this object.default ProactiveInsightSummary.BuilderserviceCollection(Consumer<ServiceCollection.Builder> serviceCollection)A collection of the names of Amazon Web Services services.ProactiveInsightSummary.BuilderserviceCollection(ServiceCollection serviceCollection)A collection of the names of Amazon Web Services services.ProactiveInsightSummary.Builderseverity(String severity)The severity of the insight.ProactiveInsightSummary.Builderseverity(InsightSeverity severity)The severity of the insight.ProactiveInsightSummary.Builderstatus(String status)The status of the proactive insight.ProactiveInsightSummary.Builderstatus(InsightStatus status)The status of the proactive insight.-
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
-
id
ProactiveInsightSummary.Builder id(String id)
The ID of the proactive insight.
- Parameters:
id- The ID of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ProactiveInsightSummary.Builder name(String name)
The name of the proactive insight.
- Parameters:
name- The name of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
severity
ProactiveInsightSummary.Builder severity(String severity)
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- Parameters:
severity- The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsightSeverity,InsightSeverity
-
severity
ProactiveInsightSummary.Builder severity(InsightSeverity severity)
The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
- Parameters:
severity- The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsightSeverity,InsightSeverity
-
status
ProactiveInsightSummary.Builder status(String status)
The status of the proactive insight.
- Parameters:
status- The status of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsightStatus,InsightStatus
-
status
ProactiveInsightSummary.Builder status(InsightStatus status)
The status of the proactive insight.
- Parameters:
status- The status of the proactive insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
InsightStatus,InsightStatus
-
insightTimeRange
ProactiveInsightSummary.Builder insightTimeRange(InsightTimeRange insightTimeRange)
Sets the value of the InsightTimeRange property for this object.- Parameters:
insightTimeRange- The new value for the InsightTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightTimeRange
default ProactiveInsightSummary.Builder insightTimeRange(Consumer<InsightTimeRange.Builder> insightTimeRange)
Sets the value of the InsightTimeRange property for this object. This is a convenience method that creates an instance of theInsightTimeRange.Builderavoiding the need to create one manually viaInsightTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsightTimeRange(InsightTimeRange).- Parameters:
insightTimeRange- a consumer that will call methods onInsightTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
insightTimeRange(InsightTimeRange)
-
predictionTimeRange
ProactiveInsightSummary.Builder predictionTimeRange(PredictionTimeRange predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object.- Parameters:
predictionTimeRange- The new value for the PredictionTimeRange property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionTimeRange
default ProactiveInsightSummary.Builder predictionTimeRange(Consumer<PredictionTimeRange.Builder> predictionTimeRange)
Sets the value of the PredictionTimeRange property for this object. This is a convenience method that creates an instance of thePredictionTimeRange.Builderavoiding the need to create one manually viaPredictionTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topredictionTimeRange(PredictionTimeRange).- Parameters:
predictionTimeRange- a consumer that will call methods onPredictionTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
predictionTimeRange(PredictionTimeRange)
-
resourceCollection
ProactiveInsightSummary.Builder resourceCollection(ResourceCollection resourceCollection)
Sets the value of the ResourceCollection property for this object.- Parameters:
resourceCollection- The new value for the ResourceCollection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
default ProactiveInsightSummary.Builder resourceCollection(Consumer<ResourceCollection.Builder> resourceCollection)
Sets the value of the ResourceCollection property for this object. This is a convenience method that creates an instance of theResourceCollection.Builderavoiding the need to create one manually viaResourceCollection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceCollection(ResourceCollection).- Parameters:
resourceCollection- a consumer that will call methods onResourceCollection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceCollection(ResourceCollection)
-
serviceCollection
ProactiveInsightSummary.Builder serviceCollection(ServiceCollection serviceCollection)
A collection of the names of Amazon Web Services services.
- Parameters:
serviceCollection- A collection of the names of Amazon Web Services services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceCollection
default ProactiveInsightSummary.Builder serviceCollection(Consumer<ServiceCollection.Builder> serviceCollection)
A collection of the names of Amazon Web Services services.
This is a convenience method that creates an instance of theServiceCollection.Builderavoiding the need to create one manually viaServiceCollection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceCollection(ServiceCollection).- Parameters:
serviceCollection- a consumer that will call methods onServiceCollection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
serviceCollection(ServiceCollection)
-
associatedResourceArns
ProactiveInsightSummary.Builder associatedResourceArns(Collection<String> associatedResourceArns)
The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.
- Parameters:
associatedResourceArns- The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResourceArns
ProactiveInsightSummary.Builder associatedResourceArns(String... associatedResourceArns)
The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.
- Parameters:
associatedResourceArns- The Amazon Resource Names (ARNs) of the Amazon Web Services resources that generated this insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-