@Generated(value="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 url parameter,
or by specifying the full metadata in XML format in the xml parameter. Specifying both will cause an
error.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IdpMetadata.Builder |
static class |
IdpMetadata.Type |
| Modifier and Type | Method and Description |
|---|---|
static IdpMetadata.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
static IdpMetadata |
fromUrl(String url)
Create an instance of this class with
url() initialized to the given value. |
static IdpMetadata |
fromXml(String xml)
Create an instance of this class with
xml() initialized to the given value. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IdpMetadata.Builder> |
serializableBuilderClass() |
IdpMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
IdpMetadata.Type |
type()
Retrieve an enum value representing which member of this object is populated.
|
String |
url()
The URL of the location containing the IdP metadata.
|
String |
xml()
The full IdP metadata, in XML format.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String url()
The URL of the location containing the IdP metadata.
public final String xml()
The full IdP metadata, in XML format.
public IdpMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IdpMetadata.Builder,IdpMetadata>public static IdpMetadata.Builder builder()
public static Class<? extends IdpMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public static IdpMetadata fromUrl(String url)
url() initialized to the given value.
The URL of the location containing the IdP metadata.
url - The URL of the location containing the IdP metadata.public static IdpMetadata fromXml(String xml)
xml() initialized to the given value.
The full IdP metadata, in XML format.
xml - The full IdP metadata, in XML format.public IdpMetadata.Type type()
IdpMetadata.Type.UNKNOWN_TO_SDK_VERSION if 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 be IdpMetadata.Type.UNKNOWN_TO_SDK_VERSION if zero
members are set, and null if more than one member is set.Copyright © 2023. All rights reserved.