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 interfaceProvidedContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProvidedContext.Builderbuilder()StringcontextAssertion()The signed and encrypted trusted context assertion generated by the context provider.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringproviderArn()The context provider ARN from which the trusted context assertion was generated.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProvidedContext.Builder>serializableBuilderClass()ProvidedContext.BuildertoBuilder()StringtoString()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:
toBuilderin 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-