Class AvailabilityZonesContextQuery.Builder
java.lang.Object
software.amazon.awscdk.cloudassembly.schema.AvailabilityZonesContextQuery.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AvailabilityZonesContextQuery>
- Enclosing interface:
- AvailabilityZonesContextQuery
@Stability(Stable)
public static final class AvailabilityZonesContextQuery.Builder
extends Object
implements software.amazon.jsii.Builder<AvailabilityZonesContextQuery>
A builder for
AvailabilityZonesContextQuery-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofAvailabilityZonesContextQuery.getAccount()build()Builds the configured instance.lookupRoleArn(String lookupRoleArn) Sets the value ofAvailabilityZonesContextQuery.getLookupRoleArn()Sets the value ofAvailabilityZonesContextQuery.getRegion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
account
Sets the value ofAvailabilityZonesContextQuery.getAccount()- Parameters:
account- Query account. This parameter is required.- Returns:
this
-
region
Sets the value ofAvailabilityZonesContextQuery.getRegion()- Parameters:
region- Query region. This parameter is required.- Returns:
this
-
lookupRoleArn
Sets the value ofAvailabilityZonesContextQuery.getLookupRoleArn()- Parameters:
lookupRoleArn- The ARN of the role that should be used to look up the missing values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<AvailabilityZonesContextQuery>- Returns:
- a new instance of
AvailabilityZonesContextQuery - Throws:
NullPointerException- if any required attribute was not provided
-