Class ProvidedContext
- java.lang.Object
-
- software.amazon.awssdk.services.sts.model.ProvidedContext
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ProvidedContext.Builder,ProvidedContext>
@Generated("software.amazon.awssdk:codegen") public final class ProvidedContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProvidedContext.Builder,ProvidedContext>
Contains information about the provided context. This includes the signed and encrypted trusted context assertion and the context provider ARN from which the trusted context assertion was generated.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProvidedContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProvidedContext.Builder
builder()
String
contextAssertion()
The signed and encrypted trusted context assertion generated by the context provider.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
providerArn()
The context provider ARN from which the trusted context assertion was generated.List<SdkField<?>>
sdkFields()
static Class<? extends ProvidedContext.Builder>
serializableBuilderClass()
ProvidedContext.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
providerArn
public final String providerArn()
The context provider ARN from which the trusted context assertion was generated.
- Returns:
- The context provider ARN from which the trusted context assertion was generated.
-
contextAssertion
public final String contextAssertion()
The signed and encrypted trusted context assertion generated by the context provider. The trusted context assertion is signed and encrypted by Amazon Web Services STS.
- Returns:
- The signed and encrypted trusted context assertion generated by the context provider. The trusted context assertion is signed and encrypted by Amazon Web Services STS.
-
toBuilder
public ProvidedContext.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ProvidedContext.Builder,ProvidedContext>
-
builder
public static ProvidedContext.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProvidedContext.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-