@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SamlConfigOptions extends Object implements Serializable, Cloneable, StructuredPojo
Describes SAML options for an OpenSearch Serverless security configuration in the form of a key-value map.
Constructor and Description |
---|
SamlConfigOptions() |
Modifier and Type | Method and Description |
---|---|
SamlConfigOptions |
clone() |
boolean |
equals(Object obj) |
String |
getGroupAttribute()
The group attribute for this SAML integration.
|
String |
getMetadata()
The XML IdP metadata file generated from your identity provider.
|
Integer |
getSessionTimeout()
The session timeout, in minutes.
|
String |
getUserAttribute()
A user attribute for this SAML integration.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setGroupAttribute(String groupAttribute)
The group attribute for this SAML integration.
|
void |
setMetadata(String metadata)
The XML IdP metadata file generated from your identity provider.
|
void |
setSessionTimeout(Integer sessionTimeout)
The session timeout, in minutes.
|
void |
setUserAttribute(String userAttribute)
A user attribute for this SAML integration.
|
String |
toString()
Returns a string representation of this object.
|
SamlConfigOptions |
withGroupAttribute(String groupAttribute)
The group attribute for this SAML integration.
|
SamlConfigOptions |
withMetadata(String metadata)
The XML IdP metadata file generated from your identity provider.
|
SamlConfigOptions |
withSessionTimeout(Integer sessionTimeout)
The session timeout, in minutes.
|
SamlConfigOptions |
withUserAttribute(String userAttribute)
A user attribute for this SAML integration.
|
public void setGroupAttribute(String groupAttribute)
The group attribute for this SAML integration.
groupAttribute
- The group attribute for this SAML integration.public String getGroupAttribute()
The group attribute for this SAML integration.
public SamlConfigOptions withGroupAttribute(String groupAttribute)
The group attribute for this SAML integration.
groupAttribute
- The group attribute for this SAML integration.public void setMetadata(String metadata)
The XML IdP metadata file generated from your identity provider.
metadata
- The XML IdP metadata file generated from your identity provider.public String getMetadata()
The XML IdP metadata file generated from your identity provider.
public SamlConfigOptions withMetadata(String metadata)
The XML IdP metadata file generated from your identity provider.
metadata
- The XML IdP metadata file generated from your identity provider.public void setSessionTimeout(Integer sessionTimeout)
The session timeout, in minutes. Minimum is 15 minutes and maximum is 1440 minutes (24 hours or 1 day). Default is 60 minutes.
sessionTimeout
- The session timeout, in minutes. Minimum is 15 minutes and maximum is 1440 minutes (24 hours or 1 day).
Default is 60 minutes.public Integer getSessionTimeout()
The session timeout, in minutes. Minimum is 15 minutes and maximum is 1440 minutes (24 hours or 1 day). Default is 60 minutes.
public SamlConfigOptions withSessionTimeout(Integer sessionTimeout)
The session timeout, in minutes. Minimum is 15 minutes and maximum is 1440 minutes (24 hours or 1 day). Default is 60 minutes.
sessionTimeout
- The session timeout, in minutes. Minimum is 15 minutes and maximum is 1440 minutes (24 hours or 1 day).
Default is 60 minutes.public void setUserAttribute(String userAttribute)
A user attribute for this SAML integration.
userAttribute
- A user attribute for this SAML integration.public String getUserAttribute()
A user attribute for this SAML integration.
public SamlConfigOptions withUserAttribute(String userAttribute)
A user attribute for this SAML integration.
userAttribute
- A user attribute for this SAML integration.public String toString()
toString
in class Object
Object.toString()
public SamlConfigOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.