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.Builder
slaConfiguration
(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
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
-
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.Builder
avoiding the need to create one manually viaSlaConfiguration.builder()
.When the
Consumer
completes,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:
-