Class EndpointServiceAvailabilityZonesContextQuery.Builder
java.lang.Object
software.amazon.awscdk.cloud_assembly_schema.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofContextLookupRoleOptions.getAccount()assumeRoleAdditionalOptions(Map<String, ? extends Object> assumeRoleAdditionalOptions) Sets the value ofContextLookupRoleOptions.getAssumeRoleAdditionalOptions()build()Builds the configured instance.lookupRoleArn(String lookupRoleArn) Sets the value ofContextLookupRoleOptions.getLookupRoleArn()lookupRoleExternalId(String lookupRoleExternalId) Sets the value ofContextLookupRoleOptions.getLookupRoleExternalId()Sets the value ofContextLookupRoleOptions.getRegion()serviceName(String serviceName) Sets the value ofEndpointServiceAvailabilityZonesContextQuery.getServiceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
serviceName
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder serviceName(String serviceName) Sets the value ofEndpointServiceAvailabilityZonesContextQuery.getServiceName()- Parameters:
serviceName- Query service name. This parameter is required.- Returns:
this
-
account
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder account(String account) Sets the value ofContextLookupRoleOptions.getAccount()- Parameters:
account- Query account. This parameter is required.- Returns:
this
-
region
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder region(String region) Sets the value ofContextLookupRoleOptions.getRegion()- Parameters:
region- Query region. This parameter is required.- Returns:
this
-
assumeRoleAdditionalOptions
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder assumeRoleAdditionalOptions(Map<String, ? extends Object> assumeRoleAdditionalOptions) Sets the value ofContextLookupRoleOptions.getAssumeRoleAdditionalOptions()- Parameters:
assumeRoleAdditionalOptions- Additional options to pass to STS when assuming the lookup role.RoleArnshould not be used. Use the dedicatedlookupRoleArnproperty instead.ExternalIdshould not be used. Use the dedicatedlookupRoleExternalIdinstead.
- Returns:
this
-
lookupRoleArn
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder lookupRoleArn(String lookupRoleArn) Sets the value ofContextLookupRoleOptions.getLookupRoleArn()- Parameters:
lookupRoleArn- The ARN of the role that should be used to look up the missing values.- Returns:
this
-
lookupRoleExternalId
@Stability(Stable) public EndpointServiceAvailabilityZonesContextQuery.Builder lookupRoleExternalId(String lookupRoleExternalId) Sets the value ofContextLookupRoleOptions.getLookupRoleExternalId()- Parameters:
lookupRoleExternalId- The ExternalId that needs to be supplied while assuming this role.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EndpointServiceAvailabilityZonesContextQuery>- Returns:
- a new instance of
EndpointServiceAvailabilityZonesContextQuery - Throws:
NullPointerException- if any required attribute was not provided
-