Interface InstanceCommunicationLimitsConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceCommunicationLimitsConfig.Builder,,InstanceCommunicationLimitsConfig> SdkBuilder<InstanceCommunicationLimitsConfig.Builder,,InstanceCommunicationLimitsConfig> SdkPojo
- Enclosing class:
InstanceCommunicationLimitsConfig
@Mutable
@NotThreadSafe
public static interface InstanceCommunicationLimitsConfig.Builder
extends SdkPojo, CopyableBuilder<InstanceCommunicationLimitsConfig.Builder,InstanceCommunicationLimitsConfig>
-
Method Summary
Modifier and TypeMethodDescriptionallChannelSubtypes(Consumer<CommunicationLimits.Builder> allChannelSubtypes) Sets the value of the AllChannelSubtypes property for this object.allChannelSubtypes(CommunicationLimits allChannelSubtypes) Sets the value of the AllChannelSubtypes property for this object.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
-
allChannelSubtypes
InstanceCommunicationLimitsConfig.Builder allChannelSubtypes(CommunicationLimits allChannelSubtypes) Sets the value of the AllChannelSubtypes property for this object.- Parameters:
allChannelSubtypes- The new value for the AllChannelSubtypes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allChannelSubtypes
default InstanceCommunicationLimitsConfig.Builder allChannelSubtypes(Consumer<CommunicationLimits.Builder> allChannelSubtypes) Sets the value of the AllChannelSubtypes property for this object. This is a convenience method that creates an instance of theCommunicationLimits.Builderavoiding the need to create one manually viaCommunicationLimits.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallChannelSubtypes(CommunicationLimits).- Parameters:
allChannelSubtypes- a consumer that will call methods onCommunicationLimits.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-