Interface RootCause.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RootCause.Builder,,RootCause> SdkBuilder<RootCause.Builder,,RootCause> SdkPojo
- Enclosing class:
RootCause
@Mutable
@NotThreadSafe
public static interface RootCause.Builder
extends SdkPojo, CopyableBuilder<RootCause.Builder,RootCause>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RootCause.Builderimpact(Consumer<RootCauseImpact.Builder> impact) The dollar impact for the root cause.impact(RootCauseImpact impact) The dollar impact for the root cause.linkedAccount(String linkedAccount) The member account value that's associated with the cost anomaly.linkedAccountName(String linkedAccountName) The member account name value that's associated with the cost anomaly.The Amazon Web Services Region that's associated with the cost anomaly.The Amazon Web Services service name that's associated with the cost anomaly.TheUsageTypevalue that's associated with the cost anomaly.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
service
The Amazon Web Services service name that's associated with the cost anomaly.
- Parameters:
service- The Amazon Web Services service name that's associated with the cost anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
The Amazon Web Services Region that's associated with the cost anomaly.
- Parameters:
region- The Amazon Web Services Region that's associated with the cost anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedAccount
The member account value that's associated with the cost anomaly.
- Parameters:
linkedAccount- The member account value that's associated with the cost anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkedAccountName
The member account name value that's associated with the cost anomaly.
- Parameters:
linkedAccountName- The member account name value that's associated with the cost anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageType
The
UsageTypevalue that's associated with the cost anomaly.- Parameters:
usageType- TheUsageTypevalue that's associated with the cost anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impact
The dollar impact for the root cause.
- Parameters:
impact- The dollar impact for the root cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impact
The dollar impact for the root cause.
This is a convenience method that creates an instance of theRootCauseImpact.Builderavoiding the need to create one manually viaRootCauseImpact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimpact(RootCauseImpact).- Parameters:
impact- a consumer that will call methods onRootCauseImpact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-