@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdvancedSecurityOptionsInput extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the advanced security configuration: whether advanced security is enabled, whether the internal database option is enabled, master username and password (if internal database is enabled), and master user ARN (if IAM is enabled).
Constructor and Description |
---|
AdvancedSecurityOptionsInput() |
Modifier and Type | Method and Description |
---|---|
AdvancedSecurityOptionsInput |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAnonymousAuthEnabled()
True if Anonymous auth is enabled.
|
Boolean |
getEnabled()
True if advanced security is enabled.
|
Boolean |
getInternalUserDatabaseEnabled()
True if the internal user database is enabled.
|
MasterUserOptions |
getMasterUserOptions()
Credentials for the master user: username and password, ARN, or both.
|
SAMLOptionsInput |
getSAMLOptions()
Specifies the SAML application configuration for the domain.
|
int |
hashCode() |
Boolean |
isAnonymousAuthEnabled()
True if Anonymous auth is enabled.
|
Boolean |
isEnabled()
True if advanced security is enabled.
|
Boolean |
isInternalUserDatabaseEnabled()
True if the internal user database is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnonymousAuthEnabled(Boolean anonymousAuthEnabled)
True if Anonymous auth is enabled.
|
void |
setEnabled(Boolean enabled)
True if advanced security is enabled.
|
void |
setInternalUserDatabaseEnabled(Boolean internalUserDatabaseEnabled)
True if the internal user database is enabled.
|
void |
setMasterUserOptions(MasterUserOptions masterUserOptions)
Credentials for the master user: username and password, ARN, or both.
|
void |
setSAMLOptions(SAMLOptionsInput sAMLOptions)
Specifies the SAML application configuration for the domain.
|
String |
toString()
Returns a string representation of this object.
|
AdvancedSecurityOptionsInput |
withAnonymousAuthEnabled(Boolean anonymousAuthEnabled)
True if Anonymous auth is enabled.
|
AdvancedSecurityOptionsInput |
withEnabled(Boolean enabled)
True if advanced security is enabled.
|
AdvancedSecurityOptionsInput |
withInternalUserDatabaseEnabled(Boolean internalUserDatabaseEnabled)
True if the internal user database is enabled.
|
AdvancedSecurityOptionsInput |
withMasterUserOptions(MasterUserOptions masterUserOptions)
Credentials for the master user: username and password, ARN, or both.
|
AdvancedSecurityOptionsInput |
withSAMLOptions(SAMLOptionsInput sAMLOptions)
Specifies the SAML application configuration for the domain.
|
public void setEnabled(Boolean enabled)
True if advanced security is enabled.
enabled
- True if advanced security is enabled.public Boolean getEnabled()
True if advanced security is enabled.
public AdvancedSecurityOptionsInput withEnabled(Boolean enabled)
True if advanced security is enabled.
enabled
- True if advanced security is enabled.public Boolean isEnabled()
True if advanced security is enabled.
public void setInternalUserDatabaseEnabled(Boolean internalUserDatabaseEnabled)
True if the internal user database is enabled.
internalUserDatabaseEnabled
- True if the internal user database is enabled.public Boolean getInternalUserDatabaseEnabled()
True if the internal user database is enabled.
public AdvancedSecurityOptionsInput withInternalUserDatabaseEnabled(Boolean internalUserDatabaseEnabled)
True if the internal user database is enabled.
internalUserDatabaseEnabled
- True if the internal user database is enabled.public Boolean isInternalUserDatabaseEnabled()
True if the internal user database is enabled.
public void setMasterUserOptions(MasterUserOptions masterUserOptions)
Credentials for the master user: username and password, ARN, or both.
masterUserOptions
- Credentials for the master user: username and password, ARN, or both.public MasterUserOptions getMasterUserOptions()
Credentials for the master user: username and password, ARN, or both.
public AdvancedSecurityOptionsInput withMasterUserOptions(MasterUserOptions masterUserOptions)
Credentials for the master user: username and password, ARN, or both.
masterUserOptions
- Credentials for the master user: username and password, ARN, or both.public void setSAMLOptions(SAMLOptionsInput sAMLOptions)
Specifies the SAML application configuration for the domain.
sAMLOptions
- Specifies the SAML application configuration for the domain.public SAMLOptionsInput getSAMLOptions()
Specifies the SAML application configuration for the domain.
public AdvancedSecurityOptionsInput withSAMLOptions(SAMLOptionsInput sAMLOptions)
Specifies the SAML application configuration for the domain.
sAMLOptions
- Specifies the SAML application configuration for the domain.public void setAnonymousAuthEnabled(Boolean anonymousAuthEnabled)
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
anonymousAuthEnabled
- True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on
existing domains.public Boolean getAnonymousAuthEnabled()
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
public AdvancedSecurityOptionsInput withAnonymousAuthEnabled(Boolean anonymousAuthEnabled)
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
anonymousAuthEnabled
- True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on
existing domains.public Boolean isAnonymousAuthEnabled()
True if Anonymous auth is enabled. Anonymous auth can be enabled only when AdvancedSecurity is enabled on existing domains.
public String toString()
toString
in class Object
Object.toString()
public AdvancedSecurityOptionsInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.