@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SAMLOptionsInput extends Object implements Serializable, Cloneable, StructuredPojo
The SAML application configuration for the domain.
Constructor and Description |
---|
SAMLOptionsInput() |
Modifier and Type | Method and Description |
---|---|
SAMLOptionsInput |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
True if SAML is enabled.
|
SAMLIdp |
getIdp()
The SAML Identity Provider's information.
|
String |
getMasterBackendRole()
The backend role that the SAML master user is mapped to.
|
String |
getMasterUserName()
The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.
|
String |
getRolesKey()
Element of the SAML assertion to use for backend roles.
|
Integer |
getSessionTimeoutMinutes()
The duration, in minutes, after which a user session becomes inactive.
|
String |
getSubjectKey()
Element of the SAML assertion to use for username.
|
int |
hashCode() |
Boolean |
isEnabled()
True if SAML is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
True if SAML is enabled.
|
void |
setIdp(SAMLIdp idp)
The SAML Identity Provider's information.
|
void |
setMasterBackendRole(String masterBackendRole)
The backend role that the SAML master user is mapped to.
|
void |
setMasterUserName(String masterUserName)
The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.
|
void |
setRolesKey(String rolesKey)
Element of the SAML assertion to use for backend roles.
|
void |
setSessionTimeoutMinutes(Integer sessionTimeoutMinutes)
The duration, in minutes, after which a user session becomes inactive.
|
void |
setSubjectKey(String subjectKey)
Element of the SAML assertion to use for username.
|
String |
toString()
Returns a string representation of this object.
|
SAMLOptionsInput |
withEnabled(Boolean enabled)
True if SAML is enabled.
|
SAMLOptionsInput |
withIdp(SAMLIdp idp)
The SAML Identity Provider's information.
|
SAMLOptionsInput |
withMasterBackendRole(String masterBackendRole)
The backend role that the SAML master user is mapped to.
|
SAMLOptionsInput |
withMasterUserName(String masterUserName)
The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.
|
SAMLOptionsInput |
withRolesKey(String rolesKey)
Element of the SAML assertion to use for backend roles.
|
SAMLOptionsInput |
withSessionTimeoutMinutes(Integer sessionTimeoutMinutes)
The duration, in minutes, after which a user session becomes inactive.
|
SAMLOptionsInput |
withSubjectKey(String subjectKey)
Element of the SAML assertion to use for username.
|
public void setEnabled(Boolean enabled)
True if SAML is enabled.
enabled
- True if SAML is enabled.public Boolean getEnabled()
True if SAML is enabled.
public SAMLOptionsInput withEnabled(Boolean enabled)
True if SAML is enabled.
enabled
- True if SAML is enabled.public Boolean isEnabled()
True if SAML is enabled.
public void setIdp(SAMLIdp idp)
The SAML Identity Provider's information.
idp
- The SAML Identity Provider's information.public SAMLIdp getIdp()
The SAML Identity Provider's information.
public SAMLOptionsInput withIdp(SAMLIdp idp)
The SAML Identity Provider's information.
idp
- The SAML Identity Provider's information.public void setMasterUserName(String masterUserName)
The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.
masterUserName
- The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.public String getMasterUserName()
The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.
public SAMLOptionsInput withMasterUserName(String masterUserName)
The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.
masterUserName
- The SAML master username, which is stored in the Amazon OpenSearch Service domain's internal database.public void setMasterBackendRole(String masterBackendRole)
The backend role that the SAML master user is mapped to.
masterBackendRole
- The backend role that the SAML master user is mapped to.public String getMasterBackendRole()
The backend role that the SAML master user is mapped to.
public SAMLOptionsInput withMasterBackendRole(String masterBackendRole)
The backend role that the SAML master user is mapped to.
masterBackendRole
- The backend role that the SAML master user is mapped to.public void setSubjectKey(String subjectKey)
Element of the SAML assertion to use for username. Default is NameID.
subjectKey
- Element of the SAML assertion to use for username. Default is NameID.public String getSubjectKey()
Element of the SAML assertion to use for username. Default is NameID.
public SAMLOptionsInput withSubjectKey(String subjectKey)
Element of the SAML assertion to use for username. Default is NameID.
subjectKey
- Element of the SAML assertion to use for username. Default is NameID.public void setRolesKey(String rolesKey)
Element of the SAML assertion to use for backend roles. Default is roles.
rolesKey
- Element of the SAML assertion to use for backend roles. Default is roles.public String getRolesKey()
Element of the SAML assertion to use for backend roles. Default is roles.
public SAMLOptionsInput withRolesKey(String rolesKey)
Element of the SAML assertion to use for backend roles. Default is roles.
rolesKey
- Element of the SAML assertion to use for backend roles. Default is roles.public void setSessionTimeoutMinutes(Integer sessionTimeoutMinutes)
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
sessionTimeoutMinutes
- The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and
1440, and the default value is 60.public Integer getSessionTimeoutMinutes()
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
public SAMLOptionsInput withSessionTimeoutMinutes(Integer sessionTimeoutMinutes)
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
sessionTimeoutMinutes
- The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and
1440, and the default value is 60.public String toString()
toString
in class Object
Object.toString()
public SAMLOptionsInput clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.