Interface RootCause.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RootCause.Builder,RootCause>,SdkBuilder<RootCause.Builder,RootCause>,SdkPojo
- Enclosing class:
- RootCause
public static interface RootCause.Builder extends SdkPojo, CopyableBuilder<RootCause.Builder,RootCause>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RootCause.Builderimpact(Consumer<RootCauseImpact.Builder> impact)The dollar impact for the root cause.RootCause.Builderimpact(RootCauseImpact impact)The dollar impact for the root cause.RootCause.BuilderlinkedAccount(String linkedAccount)The member account value that's associated with the cost anomaly.RootCause.BuilderlinkedAccountName(String linkedAccountName)The member account name value that's associated with the cost anomaly.RootCause.Builderregion(String region)The Amazon Web Services Region that's associated with the cost anomaly.RootCause.Builderservice(String service)The Amazon Web Services service name that's associated with the cost anomaly.RootCause.BuilderusageType(String usageType)TheUsageTypevalue 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 Detail
-
service
RootCause.Builder service(String 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
RootCause.Builder region(String 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
RootCause.Builder linkedAccount(String 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
RootCause.Builder linkedAccountName(String 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
RootCause.Builder usageType(String 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
RootCause.Builder impact(RootCauseImpact 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
default RootCause.Builder impact(Consumer<RootCauseImpact.Builder> 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:
impact(RootCauseImpact)
-
-