Interface CommunicationLimits.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CommunicationLimits.Builder,
,CommunicationLimits> SdkBuilder<CommunicationLimits.Builder,
,CommunicationLimits> SdkPojo
- Enclosing class:
CommunicationLimits
@Mutable
@NotThreadSafe
public static interface CommunicationLimits.Builder
extends SdkPojo, CopyableBuilder<CommunicationLimits.Builder,CommunicationLimits>
-
Method Summary
Modifier and TypeMethodDescriptioncommunicationLimitsList
(Collection<CommunicationLimit> communicationLimitsList) Sets the value of the CommunicationLimitsList property for this object.communicationLimitsList
(Consumer<CommunicationLimit.Builder>... communicationLimitsList) Sets the value of the CommunicationLimitsList property for this object.communicationLimitsList
(CommunicationLimit... communicationLimitsList) Sets the value of the CommunicationLimitsList property for this object.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
-
communicationLimitsList
CommunicationLimits.Builder communicationLimitsList(Collection<CommunicationLimit> communicationLimitsList) Sets the value of the CommunicationLimitsList property for this object.- Parameters:
communicationLimitsList
- The new value for the CommunicationLimitsList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communicationLimitsList
Sets the value of the CommunicationLimitsList property for this object.- Parameters:
communicationLimitsList
- The new value for the CommunicationLimitsList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
communicationLimitsList
CommunicationLimits.Builder communicationLimitsList(Consumer<CommunicationLimit.Builder>... communicationLimitsList) Sets the value of the CommunicationLimitsList property for this object. This is a convenience method that creates an instance of theCommunicationLimit.Builder
avoiding the need to create one manually viaCommunicationLimit.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocommunicationLimitsList(List<CommunicationLimit>)
.- Parameters:
communicationLimitsList
- a consumer that will call methods onCommunicationLimit.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-