Interface AuthorizeVpcEndpointAccessRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AuthorizeVpcEndpointAccessRequest.Builder,,AuthorizeVpcEndpointAccessRequest> OpenSearchRequest.Builder,SdkBuilder<AuthorizeVpcEndpointAccessRequest.Builder,,AuthorizeVpcEndpointAccessRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AuthorizeVpcEndpointAccessRequest
@Mutable
@NotThreadSafe
public static interface AuthorizeVpcEndpointAccessRequest.Builder
extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<AuthorizeVpcEndpointAccessRequest.Builder,AuthorizeVpcEndpointAccessRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID to grant access to.domainName(String domainName) The name of the OpenSearch Service domain to provide access to.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Web Services service SP to grant access to.service(AWSServicePrincipal service) The Amazon Web Services service SP to grant access to.serviceOptions(Consumer<ServiceOptions.Builder> serviceOptions) The options for the service, including the supported Regions for the endpoint access.serviceOptions(ServiceOptions serviceOptions) The options for the service, including the supported Regions for the endpoint access.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The name of the OpenSearch Service domain to provide access to.
- Parameters:
domainName- The name of the OpenSearch Service domain to provide access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
account
The Amazon Web Services account ID to grant access to.
- Parameters:
account- The Amazon Web Services account ID to grant access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
service
The Amazon Web Services service SP to grant access to.
- Parameters:
service- The Amazon Web Services service SP to grant access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
service
The Amazon Web Services service SP to grant access to.
- Parameters:
service- The Amazon Web Services service SP to grant access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceOptions
The options for the service, including the supported Regions for the endpoint access.
- Parameters:
serviceOptions- The options for the service, including the supported Regions for the endpoint access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceOptions
default AuthorizeVpcEndpointAccessRequest.Builder serviceOptions(Consumer<ServiceOptions.Builder> serviceOptions) The options for the service, including the supported Regions for the endpoint access.
This is a convenience method that creates an instance of theServiceOptions.Builderavoiding the need to create one manually viaServiceOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserviceOptions(ServiceOptions).- Parameters:
serviceOptions- a consumer that will call methods onServiceOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AuthorizeVpcEndpointAccessRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AuthorizeVpcEndpointAccessRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-