Class IdentityContextStatus
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<IdentityContextStatus.Builder,IdentityContextStatus>
Describes whether scheduled runs of a workflow version can still carry the identity context from the request that
created that version. Amazon Managed Workflows for Apache Airflow Serverless returns this information only for
workflows that have OnBehalfOf set to ORIGIN_IDENTITY.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantThis value is the latest time that scheduled runs can carry the identity context, in ISO 8601 date-time format.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringreason()This message explains whyStatusisEXPIRED, for example because the identity context reached its maximum lifetime or was revoked.static Class<? extends IdentityContextStatus.Builder> status()The identity context has one of the following statuses:final StringThe identity context has one of the following statuses:Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
status
The identity context has one of the following statuses:
-
ACTIVE– Scheduled runs can carry the identity context. -
EXPIRED– Scheduled runs can't carry the identity context, and they fail until you update the workflow withOnBehalfOfset toORIGIN_IDENTITYagain. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnIdentityContextStatusValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The identity context has one of the following statuses:
-
ACTIVE– Scheduled runs can carry the identity context. -
EXPIRED– Scheduled runs can't carry the identity context, and they fail until you update the workflow withOnBehalfOfset toORIGIN_IDENTITYagain. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.
-
- See Also:
-
-
statusAsString
The identity context has one of the following statuses:
-
ACTIVE– Scheduled runs can carry the identity context. -
EXPIRED– Scheduled runs can't carry the identity context, and they fail until you update the workflow withOnBehalfOfset toORIGIN_IDENTITYagain. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnIdentityContextStatusValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The identity context has one of the following statuses:
-
ACTIVE– Scheduled runs can carry the identity context. -
EXPIRED– Scheduled runs can't carry the identity context, and they fail until you update the workflow withOnBehalfOfset toORIGIN_IDENTITYagain. Sign the update request with credentials that include the identity context that you want scheduled runs to carry.
-
- See Also:
-
-
reason
This message explains why
StatusisEXPIRED, for example because the identity context reached its maximum lifetime or was revoked. Amazon Managed Workflows for Apache Airflow Serverless returns this field only whenStatusisEXPIRED.- Returns:
- This message explains why
StatusisEXPIRED, for example because the identity context reached its maximum lifetime or was revoked. Amazon Managed Workflows for Apache Airflow Serverless returns this field only whenStatusisEXPIRED.
-
expiresAt
This value is the latest time that scheduled runs can carry the identity context, in ISO 8601 date-time format. Amazon Managed Workflows for Apache Airflow Serverless can't renew the identity context past this time. For IAM Identity Center users, the background session duration that you configure sets this limit. To extend it, update the workflow with
OnBehalfOfset toORIGIN_IDENTITYagain.- Returns:
- This value is the latest time that scheduled runs can carry the identity context, in ISO 8601 date-time
format. Amazon Managed Workflows for Apache Airflow Serverless can't renew the identity context past this
time. For IAM Identity Center users, the background session duration that you configure sets this limit.
To extend it, update the workflow with
OnBehalfOfset toORIGIN_IDENTITYagain.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<IdentityContextStatus.Builder,IdentityContextStatus> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-