Interface SlaContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SlaContent.Builder,,SlaContent> SdkBuilder<SlaContent.Builder,,SlaContent> SdkPojo
- Enclosing class:
SlaContent
@Mutable
@NotThreadSafe
public static interface SlaContent.Builder
extends SdkPojo, CopyableBuilder<SlaContent.Builder,SlaContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SlaContent.BuilderslaConfiguration(Consumer<SlaConfiguration.Builder> slaConfiguration) Represents an SLA configuration.slaConfiguration(SlaConfiguration slaConfiguration) Represents an SLA configuration.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
-
slaConfiguration
Represents an SLA configuration.
- Parameters:
slaConfiguration- Represents an SLA configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slaConfiguration
Represents an SLA configuration.
This is a convenience method that creates an instance of theSlaConfiguration.Builderavoiding the need to create one manually viaSlaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslaConfiguration(SlaConfiguration).- Parameters:
slaConfiguration- a consumer that will call methods onSlaConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-