@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()
Returns true if the SshCiphers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasSshKexs()
Returns true if the SshKexs property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasSshMacs()
Returns true if the SshMacs property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
boolean |
hasTlsCiphers()
Returns true if the TlsCiphers property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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 Boolean fips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
public String securityPolicyName()
Specifies the name of the security policy that is attached to the server.
public boolean hasSshCiphers()
public 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.
You can use hasSshCiphers() to see if a value was sent in this field.
public boolean hasSshKexs()
public 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.
You can use hasSshKexs() to see if a value was sent in this field.
public boolean hasSshMacs()
public 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.
You can use hasSshMacs() to see if a value was sent in this field.
public boolean hasTlsCiphers()
public 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.
You can use hasTlsCiphers() to see if a value was sent in this field.
public DescribedSecurityPolicy.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribedSecurityPolicy.Builder,DescribedSecurityPolicy>public static DescribedSecurityPolicy.Builder builder()
public static Class<? extends DescribedSecurityPolicy.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.