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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AuthorizeVpcEndpointAccessResponse.Builder
authorizedPrincipal(Consumer<AuthorizedPrincipal.Builder> authorizedPrincipal)
Information about the account or service that was provided access to the domain.AuthorizeVpcEndpointAccessResponse.Builder
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 Detail
-
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:
authorizedPrincipal(AuthorizedPrincipal)
-
-