Interface DescribeConnectionProposalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeConnectionProposalResponse.Builder,,DescribeConnectionProposalResponse> InterconnectResponse.Builder,SdkBuilder<DescribeConnectionProposalResponse.Builder,,DescribeConnectionProposalResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeConnectionProposalResponse
@Mutable
@NotThreadSafe
public static interface DescribeConnectionProposalResponse.Builder
extends InterconnectResponse.Builder, SdkPojo, CopyableBuilder<DescribeConnectionProposalResponse.Builder,DescribeConnectionProposalResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe bandwidth of the proposed Connection.environmentId(String environmentId) The identifier of the Environment upon which the Connection would be placed if this proposal were accepted.The partner specific location distinguisher of the specific Environment of the proposal.provider(Consumer<Provider.Builder> provider) The partner provider of the specific Environment of the proposal.The partner provider of the specific Environment of the proposal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.interconnect.model.InterconnectResponse.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
-
bandwidth
The bandwidth of the proposed Connection.
- Parameters:
bandwidth- The bandwidth of the proposed Connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
The identifier of the Environment upon which the Connection would be placed if this proposal were accepted.
- Parameters:
environmentId- The identifier of the Environment upon which the Connection would be placed if this proposal were accepted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
The partner provider of the specific Environment of the proposal.
- Parameters:
provider- The partner provider of the specific Environment of the proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provider
The partner provider of the specific Environment of the proposal.
This is a convenience method that creates an instance of theProvider.Builderavoiding the need to create one manually viaProvider.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprovider(Provider).- Parameters:
provider- a consumer that will call methods onProvider.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
location
The partner specific location distinguisher of the specific Environment of the proposal.
- Parameters:
location- The partner specific location distinguisher of the specific Environment of the proposal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-