Interface UpdateConnectionsBillingModeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateConnectionsBillingModeResponse.Builder,,UpdateConnectionsBillingModeResponse> DirectConnectResponse.Builder,SdkBuilder<UpdateConnectionsBillingModeResponse.Builder,,UpdateConnectionsBillingModeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateConnectionsBillingModeResponse
@Mutable
@NotThreadSafe
public static interface UpdateConnectionsBillingModeResponse.Builder
extends DirectConnectResponse.Builder, SdkPojo, CopyableBuilder<UpdateConnectionsBillingModeResponse.Builder,UpdateConnectionsBillingModeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionbillingMode(String billingMode) The billing mode applied to the connections.billingMode(BillingMode billingMode) The billing mode applied to the connections.connections(Collection<Connection> connections) The connections with the updated billing mode.connections(Consumer<Connection.Builder>... connections) The connections with the updated billing mode.connections(Connection... connections) The connections with the updated billing mode.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directconnect.model.DirectConnectResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
billingMode
The billing mode applied to the connections.
- Parameters:
billingMode- The billing mode applied to the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
billingMode
The billing mode applied to the connections.
- Parameters:
billingMode- The billing mode applied to the connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connections
The connections with the updated billing mode.
- Parameters:
connections- The connections with the updated billing mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
The connections with the updated billing mode.
- Parameters:
connections- The connections with the updated billing mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connections
UpdateConnectionsBillingModeResponse.Builder connections(Consumer<Connection.Builder>... connections) The connections with the updated billing mode.
This is a convenience method that creates an instance of theConnection.Builderavoiding the need to create one manually viaConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconnections(List<Connection>).- Parameters:
connections- a consumer that will call methods onConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-