Package software.amazon.awscdk.cxapi
Class EndpointServiceAvailabilityZonesContextQuery.Builder
java.lang.Object
software.amazon.awscdk.cxapi.EndpointServiceAvailabilityZonesContextQuery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EndpointServiceAvailabilityZonesContextQuery>
- Enclosing interface:
EndpointServiceAvailabilityZonesContextQuery
@Stability(Stable)
public static final class EndpointServiceAvailabilityZonesContextQuery.Builder
extends Object
implements software.amazon.jsii.Builder<EndpointServiceAvailabilityZonesContextQuery>
A builder for
EndpointServiceAvailabilityZonesContextQuery
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofEndpointServiceAvailabilityZonesContextQuery.getAccount()
build()
Builds the configured instance.Sets the value ofEndpointServiceAvailabilityZonesContextQuery.getRegion()
serviceName
(String serviceName) Sets the value ofEndpointServiceAvailabilityZonesContextQuery.getServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
account
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder account(String account) Sets the value ofEndpointServiceAvailabilityZonesContextQuery.getAccount()
- Parameters:
account
- Query account.- Returns:
this
-
region
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder region(String region) Sets the value ofEndpointServiceAvailabilityZonesContextQuery.getRegion()
- Parameters:
region
- Query region.- Returns:
this
-
serviceName
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder serviceName(String serviceName) Sets the value ofEndpointServiceAvailabilityZonesContextQuery.getServiceName()
- Parameters:
serviceName
- Query service name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EndpointServiceAvailabilityZonesContextQuery>
- Returns:
- a new instance of
EndpointServiceAvailabilityZonesContextQuery
- Throws:
NullPointerException
- if any required attribute was not provided
-