@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribedSecurityPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Describes the properties of a security policy that was specified. For more information about security policies, see Working with security policies.
Constructor and Description |
---|
DescribedSecurityPolicy() |
Modifier and Type | Method and Description |
---|---|
DescribedSecurityPolicy |
clone() |
boolean |
equals(Object obj) |
Boolean |
getFips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
|
String |
getSecurityPolicyName()
Specifies the name of the security policy that is attached to the server.
|
List<String> |
getSshCiphers()
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to
the server.
|
List<String> |
getSshKexs()
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server.
|
List<String> |
getSshMacs()
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server.
|
List<String> |
getTlsCiphers()
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
int |
hashCode() |
Boolean |
isFips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
|
void |
setSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
|
void |
setSshCiphers(Collection<String> sshCiphers)
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to
the server.
|
void |
setSshKexs(Collection<String> sshKexs)
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server.
|
void |
setSshMacs(Collection<String> sshMacs)
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server.
|
void |
setTlsCiphers(Collection<String> tlsCiphers)
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
String |
toString()
Returns a string representation of this object.
|
DescribedSecurityPolicy |
withFips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
|
DescribedSecurityPolicy |
withSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
|
DescribedSecurityPolicy |
withSshCiphers(Collection<String> sshCiphers)
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to
the server.
|
DescribedSecurityPolicy |
withSshCiphers(String... sshCiphers)
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to
the server.
|
DescribedSecurityPolicy |
withSshKexs(Collection<String> sshKexs)
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server.
|
DescribedSecurityPolicy |
withSshKexs(String... sshKexs)
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server.
|
DescribedSecurityPolicy |
withSshMacs(Collection<String> sshMacs)
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server.
|
DescribedSecurityPolicy |
withSshMacs(String... sshMacs)
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server.
|
DescribedSecurityPolicy |
withTlsCiphers(Collection<String> tlsCiphers)
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
DescribedSecurityPolicy |
withTlsCiphers(String... tlsCiphers)
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
public void setFips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
fips
- Specifies whether this policy enables Federal Information Processing Standards (FIPS).public Boolean getFips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
public DescribedSecurityPolicy withFips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
fips
- Specifies whether this policy enables Federal Information Processing Standards (FIPS).public Boolean isFips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
public void setSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
securityPolicyName
- Specifies the name of the security policy that is attached to the server.public String getSecurityPolicyName()
Specifies the name of the security policy that is attached to the server.
public DescribedSecurityPolicy withSecurityPolicyName(String securityPolicyName)
Specifies the name of the security policy that is attached to the server.
securityPolicyName
- Specifies the name of the security policy that is attached to the server.public List<String> getSshCiphers()
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
public void setSshCiphers(Collection<String> sshCiphers)
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
sshCiphers
- Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is
attached to the server.public DescribedSecurityPolicy withSshCiphers(String... sshCiphers)
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
NOTE: This method appends the values to the existing list (if any). Use
setSshCiphers(java.util.Collection)
or withSshCiphers(java.util.Collection)
if you want to
override the existing values.
sshCiphers
- Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is
attached to the server.public DescribedSecurityPolicy withSshCiphers(Collection<String> sshCiphers)
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
sshCiphers
- Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is
attached to the server.public List<String> getSshKexs()
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
public void setSshKexs(Collection<String> sshKexs)
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
sshKexs
- Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached
to the server.public DescribedSecurityPolicy withSshKexs(String... sshKexs)
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
NOTE: This method appends the values to the existing list (if any). Use
setSshKexs(java.util.Collection)
or withSshKexs(java.util.Collection)
if you want to override
the existing values.
sshKexs
- Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached
to the server.public DescribedSecurityPolicy withSshKexs(Collection<String> sshKexs)
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
sshKexs
- Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached
to the server.public List<String> getSshMacs()
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
public void setSshMacs(Collection<String> sshMacs)
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
sshMacs
- Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy
that is attached to the server.public DescribedSecurityPolicy withSshMacs(String... sshMacs)
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
NOTE: This method appends the values to the existing list (if any). Use
setSshMacs(java.util.Collection)
or withSshMacs(java.util.Collection)
if you want to override
the existing values.
sshMacs
- Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy
that is attached to the server.public DescribedSecurityPolicy withSshMacs(Collection<String> sshMacs)
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
sshMacs
- Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy
that is attached to the server.public List<String> getTlsCiphers()
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
public void setTlsCiphers(Collection<String> tlsCiphers)
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
tlsCiphers
- Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy
that is attached to the server.public DescribedSecurityPolicy withTlsCiphers(String... tlsCiphers)
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
NOTE: This method appends the values to the existing list (if any). Use
setTlsCiphers(java.util.Collection)
or withTlsCiphers(java.util.Collection)
if you want to
override the existing values.
tlsCiphers
- Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy
that is attached to the server.public DescribedSecurityPolicy withTlsCiphers(Collection<String> tlsCiphers)
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
tlsCiphers
- Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy
that is attached to the server.public String toString()
toString
in class Object
Object.toString()
public DescribedSecurityPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.