@Generated(value="software.amazon.awssdk:codegen") public final class DescribedSecurityPolicy extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DescribedSecurityPolicy.Builder,DescribedSecurityPolicy>
Describes the properties of a security policy that was specified. For more information about security policies, see Working with security policies.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribedSecurityPolicy.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribedSecurityPolicy.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Boolean |
fips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSshCiphers()
For responses, this returns true if the service returned a value for the SshCiphers property.
|
boolean |
hasSshKexs()
For responses, this returns true if the service returned a value for the SshKexs property.
|
boolean |
hasSshMacs()
For responses, this returns true if the service returned a value for the SshMacs property.
|
boolean |
hasTlsCiphers()
For responses, this returns true if the service returned a value for the TlsCiphers property.
|
List<SdkField<?>> |
sdkFields() |
String |
securityPolicyName()
Specifies the name of the security policy that is attached to the server.
|
static Class<? extends DescribedSecurityPolicy.Builder> |
serializableBuilderClass() |
List<String> |
sshCiphers()
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to
the server.
|
List<String> |
sshKexs()
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server.
|
List<String> |
sshMacs()
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server.
|
List<String> |
tlsCiphers()
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
DescribedSecurityPolicy.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean fips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
public final String securityPolicyName()
Specifies the name of the security policy that is attached to the server.
public final boolean hasSshCiphers()
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.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.
public final boolean hasSshKexs()
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.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.
public final boolean hasSshMacs()
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.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.
public final boolean hasTlsCiphers()
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.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.
public DescribedSecurityPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribedSecurityPolicy.Builder,DescribedSecurityPolicy>public static DescribedSecurityPolicy.Builder builder()
public static Class<? extends DescribedSecurityPolicy.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.