Class TlsValidationContextTrust

    • Method Detail

      • acm

        public final TlsValidationContextAcmTrust acm()

        A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.

        Returns:
        A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.
      • file

        public final TlsValidationContextFileTrust file()

        An object that represents a Transport Layer Security (TLS) validation context trust for a local file.

        Returns:
        An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
      • sds

        public final TlsValidationContextSdsTrust sds()

        A reference to an object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust.

        Returns:
        A reference to an object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)
      • fromAcm

        public static TlsValidationContextTrust fromAcm​(TlsValidationContextAcmTrust acm)
        Create an instance of this class with acm() initialized to the given value.

        A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.

        Parameters:
        acm - A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.
      • fromAcm

        public static TlsValidationContextTrust fromAcm​(Consumer<TlsValidationContextAcmTrust.Builder> acm)
        Create an instance of this class with acm() initialized to the given value.

        A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.

        Parameters:
        acm - A reference to an object that represents a Transport Layer Security (TLS) validation context trust for an Certificate Manager certificate.
      • fromFile

        public static TlsValidationContextTrust fromFile​(TlsValidationContextFileTrust file)
        Create an instance of this class with file() initialized to the given value.

        An object that represents a Transport Layer Security (TLS) validation context trust for a local file.

        Parameters:
        file - An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
      • fromFile

        public static TlsValidationContextTrust fromFile​(Consumer<TlsValidationContextFileTrust.Builder> file)
        Create an instance of this class with file() initialized to the given value.

        An object that represents a Transport Layer Security (TLS) validation context trust for a local file.

        Parameters:
        file - An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
      • fromSds

        public static TlsValidationContextTrust fromSds​(TlsValidationContextSdsTrust sds)
        Create an instance of this class with sds() initialized to the given value.

        A reference to an object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust.

        Parameters:
        sds - A reference to an object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust.
      • fromSds

        public static TlsValidationContextTrust fromSds​(Consumer<TlsValidationContextSdsTrust.Builder> sds)
        Create an instance of this class with sds() initialized to the given value.

        A reference to an object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust.

        Parameters:
        sds - A reference to an object that represents a Transport Layer Security (TLS) Secret Discovery Service validation context trust.