Interface AuthorizeVpcEndpointAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AuthorizeVpcEndpointAccessResponse.Builder,
,AuthorizeVpcEndpointAccessResponse> ElasticsearchResponse.Builder
,SdkBuilder<AuthorizeVpcEndpointAccessResponse.Builder,
,AuthorizeVpcEndpointAccessResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AuthorizeVpcEndpointAccessResponse
public static interface AuthorizeVpcEndpointAccessResponse.Builder
extends ElasticsearchResponse.Builder, SdkPojo, CopyableBuilder<AuthorizeVpcEndpointAccessResponse.Builder,AuthorizeVpcEndpointAccessResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizedPrincipal
(Consumer<AuthorizedPrincipal.Builder> authorizedPrincipal) Information about the account or service that was provided access to the domain.authorizedPrincipal
(AuthorizedPrincipal authorizedPrincipal) Information about the account or service that was provided access to the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elasticsearch.model.ElasticsearchResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authorizedPrincipal
AuthorizeVpcEndpointAccessResponse.Builder authorizedPrincipal(AuthorizedPrincipal authorizedPrincipal) Information about the account or service that was provided access to the domain.
- Parameters:
authorizedPrincipal
- Information about the account or service that was provided access to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizedPrincipal
default AuthorizeVpcEndpointAccessResponse.Builder authorizedPrincipal(Consumer<AuthorizedPrincipal.Builder> authorizedPrincipal) Information about the account or service that was provided access to the domain.
This is a convenience method that creates an instance of theAuthorizedPrincipal.Builder
avoiding the need to create one manually viaAuthorizedPrincipal.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorizedPrincipal(AuthorizedPrincipal)
.- Parameters:
authorizedPrincipal
- a consumer that will call methods onAuthorizedPrincipal.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-