Interface AuthorizeVpcEndpointAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AuthorizeVpcEndpointAccessResponse.Builder,,AuthorizeVpcEndpointAccessResponse> OpenSearchResponse.Builder,SdkBuilder<AuthorizeVpcEndpointAccessResponse.Builder,,AuthorizeVpcEndpointAccessResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AuthorizeVpcEndpointAccessResponse
public static interface AuthorizeVpcEndpointAccessResponse.Builder
extends OpenSearchResponse.Builder, SdkPojo, CopyableBuilder<AuthorizeVpcEndpointAccessResponse.Builder,AuthorizeVpcEndpointAccessResponse>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizedPrincipal(Consumer<AuthorizedPrincipal.Builder> authorizedPrincipal) Information about the Amazon Web Services account or service that was provided access to the domain.authorizedPrincipal(AuthorizedPrincipal authorizedPrincipal) Information about the Amazon Web Services account or service that was provided access to the domain.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.opensearch.model.OpenSearchResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
authorizedPrincipal
AuthorizeVpcEndpointAccessResponse.Builder authorizedPrincipal(AuthorizedPrincipal authorizedPrincipal) Information about the Amazon Web Services account or service that was provided access to the domain.
- Parameters:
authorizedPrincipal- Information about the Amazon Web Services 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 Amazon Web Services account or service that was provided access to the domain.
This is a convenience method that creates an instance of theAuthorizedPrincipal.Builderavoiding the need to create one manually viaAuthorizedPrincipal.builder().When the
Consumercompletes,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:
-