Class WorkloadIdentityX509OutboundSignerDetail

java.lang.Object
software.amazon.awssdk.services.iam.model.WorkloadIdentityX509OutboundSignerDetail
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<WorkloadIdentityX509OutboundSignerDetail.Builder,WorkloadIdentityX509OutboundSignerDetail>

@Generated("software.amazon.awssdk:codegen") public final class WorkloadIdentityX509OutboundSignerDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkloadIdentityX509OutboundSignerDetail.Builder,WorkloadIdentityX509OutboundSignerDetail>

Contains the read-only form of one X.509 outbound signer, as reported in the X509 member of a WorkloadIdentityOutboundSigners object.

The times and the status say the same thing two ways. The times are authoritative, so you can always reconstruct the state by comparing them to the current time. Status is IAM's own reading of those times, so the common question of whether a signer is signing does not require the arithmetic.

See Also:
  • Method Details

    • configuration

      public final WorkloadIdentityPrivateCa configuration()

      The certificate authority that you attached, read back.

      Returns:
      The certificate authority that you attached, read back.
    • status

      The signer's status, which IAM derives from the signer's times rather than storing. For what each value means, see WorkloadIdentityOutboundSignerSummary.

      If the service returns an enum value that is not available in the current SDK version, status will return WorkloadIdentityOutboundSignerStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The signer's status, which IAM derives from the signer's times rather than storing. For what each value means, see WorkloadIdentityOutboundSignerSummary.
      See Also:
    • statusAsString

      public final String statusAsString()

      The signer's status, which IAM derives from the signer's times rather than storing. For what each value means, see WorkloadIdentityOutboundSignerSummary.

      If the service returns an enum value that is not available in the current SDK version, status will return WorkloadIdentityOutboundSignerStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The signer's status, which IAM derives from the signer's times rather than storing. For what each value means, see WorkloadIdentityOutboundSignerSummary.
      See Also:
    • startSigningTime

      public final Instant startSigningTime()

      The date and time, in ISO 8601 date-time format, when the signer begins or began signing.

      Returns:
      The date and time, in ISO 8601 date-time format, when the signer begins or began signing.
    • endSigningTime

      public final Instant endSigningTime()

      The date and time, in ISO 8601 date-time format, when the signer stops or stopped signing. Absent while the signer has no scheduled end, which is the steady state. It is set once a rotation, a disable or a delete takes the signer out of service.

      Returns:
      The date and time, in ISO 8601 date-time format, when the signer stops or stopped signing. Absent while the signer has no scheduled end, which is the steady state. It is set once a rotation, a disable or a delete takes the signer out of service.
    • discoveryExpirationTime

      public final Instant discoveryExpirationTime()

      The date and time, in ISO 8601 date-time format, when the signer's trust material stops being published. Absent while the trust material stays published. Once set, it is later than EndSigningTime, because the trust material outlives the signing window so that credentials the signer already issued keep verifying until they expire.

      Returns:
      The date and time, in ISO 8601 date-time format, when the signer's trust material stops being published. Absent while the trust material stays published. Once set, it is later than EndSigningTime, because the trust material outlives the signing window so that credentials the signer already issued keep verifying until they expire.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<WorkloadIdentityX509OutboundSignerDetail.Builder,WorkloadIdentityX509OutboundSignerDetail>
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends WorkloadIdentityX509OutboundSignerDetail.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.