Class CfnDomain.IAMFederationOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.IAMFederationOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.IAMFederationOptionsProperty>
- Enclosing interface:
CfnDomain.IAMFederationOptionsProperty
@Stability(Stable)
public static final class CfnDomain.IAMFederationOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.IAMFederationOptionsProperty>
A builder for
CfnDomain.IAMFederationOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomain.IAMFederationOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomain.IAMFederationOptionsProperty.getEnabled()Sets the value ofCfnDomain.IAMFederationOptionsProperty.getRolesKey()subjectKey(String subjectKey) Sets the value ofCfnDomain.IAMFederationOptionsProperty.getSubjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnDomain.IAMFederationOptionsProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
enabled
@Stability(Stable) public CfnDomain.IAMFederationOptionsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnDomain.IAMFederationOptionsProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
rolesKey
Sets the value ofCfnDomain.IAMFederationOptionsProperty.getRolesKey()- Parameters:
rolesKey- the value to be set.- Returns:
this
-
subjectKey
@Stability(Stable) public CfnDomain.IAMFederationOptionsProperty.Builder subjectKey(String subjectKey) Sets the value ofCfnDomain.IAMFederationOptionsProperty.getSubjectKey()- Parameters:
subjectKey- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.IAMFederationOptionsProperty>- Returns:
- a new instance of
CfnDomain.IAMFederationOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-