Interface DescribeCustomerMetadataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeCustomerMetadataResponse.Builder,,DescribeCustomerMetadataResponse> DirectConnectResponse.Builder,SdkBuilder<DescribeCustomerMetadataResponse.Builder,,DescribeCustomerMetadataResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeCustomerMetadataResponse
-
Method Summary
Modifier and TypeMethodDescriptionagreements(Collection<CustomerAgreement> agreements) The list of customer agreements.agreements(Consumer<CustomerAgreement.Builder>... agreements) The list of customer agreements.agreements(CustomerAgreement... agreements) The list of customer agreements.nniPartnerType(String nniPartnerType) The type of network-to-network interface (NNI) partner.nniPartnerType(NniPartnerType nniPartnerType) The type of network-to-network interface (NNI) partner.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agreements
The list of customer agreements.
- Parameters:
agreements- The list of customer agreements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreements
The list of customer agreements.
- Parameters:
agreements- The list of customer agreements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreements
DescribeCustomerMetadataResponse.Builder agreements(Consumer<CustomerAgreement.Builder>... agreements) The list of customer agreements.
This is a convenience method that creates an instance of theCustomerAgreement.Builderavoiding the need to create one manually viaCustomerAgreement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagreements(List<CustomerAgreement>).- Parameters:
agreements- a consumer that will call methods onCustomerAgreement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nniPartnerType
The type of network-to-network interface (NNI) partner. The partner type will be one of the following:
-
V1: This partner can only allocate 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit connections.
-
V2: This partner can only allocate 1GB, 2GB, 5GB, or 10GB hosted connections.
-
nonPartner: The customer is not a partner.
- Parameters:
nniPartnerType- The type of network-to-network interface (NNI) partner. The partner type will be one of the following:-
V1: This partner can only allocate 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit connections.
-
V2: This partner can only allocate 1GB, 2GB, 5GB, or 10GB hosted connections.
-
nonPartner: The customer is not a partner.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
nniPartnerType
The type of network-to-network interface (NNI) partner. The partner type will be one of the following:
-
V1: This partner can only allocate 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit connections.
-
V2: This partner can only allocate 1GB, 2GB, 5GB, or 10GB hosted connections.
-
nonPartner: The customer is not a partner.
- Parameters:
nniPartnerType- The type of network-to-network interface (NNI) partner. The partner type will be one of the following:-
V1: This partner can only allocate 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps subgigabit connections.
-
V2: This partner can only allocate 1GB, 2GB, 5GB, or 10GB hosted connections.
-
nonPartner: The customer is not a partner.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-