Interface InsightSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InsightSummary.Builder,InsightSummary>,SdkBuilder<InsightSummary.Builder,InsightSummary>,SdkPojo
- Enclosing class:
- InsightSummary
public static interface InsightSummary.Builder extends SdkPojo, CopyableBuilder<InsightSummary.Builder,InsightSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InsightSummary.Buildercategory(String category)The category of the insight.InsightSummary.Buildercategory(Category category)The category of the insight.InsightSummary.Builderdescription(String description)The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).InsightSummary.Builderid(String id)The ID of the insight.default InsightSummary.BuilderinsightStatus(Consumer<InsightStatus.Builder> insightStatus)An object containing more detail on the status of the insight.InsightSummary.BuilderinsightStatus(InsightStatus insightStatus)An object containing more detail on the status of the insight.InsightSummary.BuilderkubernetesVersion(String kubernetesVersion)The Kubernetes minor version associated with an insight if applicable.InsightSummary.BuilderlastRefreshTime(Instant lastRefreshTime)The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.InsightSummary.BuilderlastTransitionTime(Instant lastTransitionTime)The time the status of the insight last changed.InsightSummary.Buildername(String name)The name of the 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
InsightSummary.Builder id(String id)
The ID of the insight.
- Parameters:
id- The ID of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
InsightSummary.Builder name(String name)
The name of the insight.
- Parameters:
name- The name of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
InsightSummary.Builder category(String category)
The category of the insight.
-
category
InsightSummary.Builder category(Category category)
The category of the insight.
-
kubernetesVersion
InsightSummary.Builder kubernetesVersion(String kubernetesVersion)
The Kubernetes minor version associated with an insight if applicable.
- Parameters:
kubernetesVersion- The Kubernetes minor version associated with an insight if applicable.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRefreshTime
InsightSummary.Builder lastRefreshTime(Instant lastRefreshTime)
The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.
- Parameters:
lastRefreshTime- The time Amazon EKS last successfully completed a refresh of this insight check on the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastTransitionTime
InsightSummary.Builder lastTransitionTime(Instant lastTransitionTime)
The time the status of the insight last changed.
- Parameters:
lastTransitionTime- The time the status of the insight last changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
InsightSummary.Builder description(String description)
The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).
- Parameters:
description- The description of the insight which includes alert criteria, remediation recommendation, and additional resources (contains Markdown).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightStatus
InsightSummary.Builder insightStatus(InsightStatus insightStatus)
An object containing more detail on the status of the insight.
- Parameters:
insightStatus- An object containing more detail on the status of the insight.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
insightStatus
default InsightSummary.Builder insightStatus(Consumer<InsightStatus.Builder> insightStatus)
An object containing more detail on the status of the insight.
This is a convenience method that creates an instance of theInsightStatus.Builderavoiding the need to create one manually viaInsightStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinsightStatus(InsightStatus).- Parameters:
insightStatus- a consumer that will call methods onInsightStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
insightStatus(InsightStatus)
-
-