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.Builder
impact
(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.TheUsageType
value that's associated with the cost anomaly.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 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
UsageType
value that's associated with the cost anomaly.- Parameters:
usageType
- TheUsageType
value 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.Builder
avoiding the need to create one manually viaRootCauseImpact.builder()
.When the
Consumer
completes,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:
-