Class IdpMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.grafana.model.IdpMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IdpMetadata.Builder,IdpMetadata>
@Generated("software.amazon.awssdk:codegen") public final class IdpMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IdpMetadata.Builder,IdpMetadata>
A structure containing the identity provider (IdP) metadata used to integrate the identity provider with this workspace. You can specify the metadata either by providing a URL to its location in the
urlparameter, or by specifying the full metadata in XML format in thexmlparameter. Specifying both will cause an error.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIdpMetadata.Builderstatic classIdpMetadata.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdpMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static IdpMetadatafromUrl(String url)Create an instance of this class withurl()initialized to the given value.static IdpMetadatafromXml(String xml)Create an instance of this class withxml()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends IdpMetadata.Builder>serializableBuilderClass()IdpMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.IdpMetadata.Typetype()Retrieve an enum value representing which member of this object is populated.Stringurl()The URL of the location containing the IdP metadata.Stringxml()The full IdP metadata, in XML format.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
url
public final String url()
The URL of the location containing the IdP metadata.
- Returns:
- The URL of the location containing the IdP metadata.
-
xml
public final String xml()
The full IdP metadata, in XML format.
- Returns:
- The full IdP metadata, in XML format.
-
toBuilder
public IdpMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<IdpMetadata.Builder,IdpMetadata>
-
builder
public static IdpMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends IdpMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromUrl
public static IdpMetadata fromUrl(String url)
Create an instance of this class withurl()initialized to the given value.The URL of the location containing the IdP metadata.
- Parameters:
url- The URL of the location containing the IdP metadata.
-
fromXml
public static IdpMetadata fromXml(String xml)
Create an instance of this class withxml()initialized to the given value.The full IdP metadata, in XML format.
- Parameters:
xml- The full IdP metadata, in XML format.
-
type
public IdpMetadata.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beIdpMetadata.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beIdpMetadata.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
-