Class DescribedSecurityPolicy

    • Method Detail

      • fips

        public final Boolean fips()

        Specifies whether this policy enables Federal Information Processing Standards (FIPS).

        Returns:
        Specifies whether this policy enables Federal Information Processing Standards (FIPS).
      • securityPolicyName

        public final String securityPolicyName()

        Specifies the name of the security policy that is attached to the server.

        Returns:
        Specifies the name of the security policy that is attached to the server.
      • hasSshCiphers

        public final boolean hasSshCiphers()
        For responses, this returns true if the service returned a value for the SshCiphers property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • sshCiphers

        public final List<String> sshCiphers()

        Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSshCiphers() method.

        Returns:
        Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
      • hasSshKexs

        public final boolean hasSshKexs()
        For responses, this returns true if the service returned a value for the SshKexs property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • sshKexs

        public final List<String> sshKexs()

        Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSshKexs() method.

        Returns:
        Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
      • hasSshMacs

        public final boolean hasSshMacs()
        For responses, this returns true if the service returned a value for the SshMacs property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • sshMacs

        public final List<String> sshMacs()

        Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSshMacs() method.

        Returns:
        Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
      • hasTlsCiphers

        public final boolean hasTlsCiphers()
        For responses, this returns true if the service returned a value for the TlsCiphers property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • tlsCiphers

        public final List<String> tlsCiphers()

        Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTlsCiphers() method.

        Returns:
        Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
      • 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)