@Generated(value="software.amazon.awssdk:codegen") public final class SamlConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SamlConfiguration.Builder,SamlConfiguration>
A structure containing information about how this workspace works with SAML.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SamlConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
allowedOrganizations()
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace.
|
AssertionAttributes |
assertionAttributes()
A structure that defines which attributes in the SAML assertion are to be used to define information about the
users authenticated by that IdP to use the workspace.
|
static SamlConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAllowedOrganizations()
For responses, this returns true if the service returned a value for the AllowedOrganizations property.
|
int |
hashCode() |
IdpMetadata |
idpMetadata()
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this
workspace.
|
Integer |
loginValidityDuration()
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
|
RoleValues |
roleValues()
A structure containing arrays that map group names in the SAML assertion to the Grafana
Admin and
Editor roles in the workspace. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SamlConfiguration.Builder> |
serializableBuilderClass() |
SamlConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAllowedOrganizations()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> allowedOrganizations()
Lists which organizations defined in the SAML assertion are allowed to use the Amazon Managed Grafana workspace. If this is empty, all organizations in the assertion attribute have access.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAllowedOrganizations() method.
public final AssertionAttributes assertionAttributes()
A structure that defines which attributes in the SAML assertion are to be used to define information about the users authenticated by that IdP to use the workspace.
public final IdpMetadata idpMetadata()
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace.
public final Integer loginValidityDuration()
How long a sign-on session by a SAML user is valid, before the user has to sign on again.
public final RoleValues roleValues()
A structure containing arrays that map group names in the SAML assertion to the Grafana Admin and
Editor roles in the workspace.
Admin and Editor roles in the workspace.public SamlConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SamlConfiguration.Builder,SamlConfiguration>public static SamlConfiguration.Builder builder()
public static Class<? extends SamlConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.