Interface AuthorizedPrincipal.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AuthorizedPrincipal.Builder,,AuthorizedPrincipal> SdkBuilder<AuthorizedPrincipal.Builder,,AuthorizedPrincipal> SdkPojo
- Enclosing class:
AuthorizedPrincipal
@Mutable
@NotThreadSafe
public static interface AuthorizedPrincipal.Builder
extends SdkPojo, CopyableBuilder<AuthorizedPrincipal.Builder,AuthorizedPrincipal>
-
Method Summary
Modifier and TypeMethodDescriptionThe IAM principal that is allowed access to the domain.principalType(String principalType) The type of principal.principalType(PrincipalType principalType) The type of principal.default AuthorizedPrincipal.BuilderserviceOptions(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.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
principalType
The type of principal.
- Parameters:
principalType- The type of principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principalType
The type of principal.
- Parameters:
principalType- The type of principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
principal
The IAM principal that is allowed access to the domain.
- Parameters:
principal- The IAM principal that is allowed access to the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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:
-