@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public 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()
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.
You can use hasSshCiphers()
to see if a value was sent in this field.
public final boolean hasSshKexs()
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.
You can use hasSshKexs()
to see if a value was sent in this field.
public final boolean hasSshMacs()
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.
You can use hasSshMacs()
to see if a value was sent in this field.
public final boolean hasTlsCiphers()
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.
You can use hasTlsCiphers()
to see if a value was sent in this field.
public DescribedSecurityPolicy.Builder toBuilder()
ToCopyableBuilder
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)
SdkPojo
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.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()