@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 you specify. For more information about security policies, see Working with security policies for servers or Working with security policies for SFTP connectors.
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).
|
List<String> |
getProtocols()
Lists the file transfer protocols that the security policy applies to.
|
String |
getSecurityPolicyName()
The text name of the specified security policy.
|
List<String> |
getSshCiphers()
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the
server or connector.
|
List<String> |
getSshHostKeyAlgorithms()
Lists the host key algorithms for the security policy.
|
List<String> |
getSshKexs()
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server or connector.
|
List<String> |
getSshMacs()
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server or connector.
|
List<String> |
getTlsCiphers()
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
String |
getType()
The resource type to which the security policy applies, either server or connector.
|
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 |
setProtocols(Collection<String> protocols)
Lists the file transfer protocols that the security policy applies to.
|
void |
setSecurityPolicyName(String securityPolicyName)
The text name of the specified security policy.
|
void |
setSshCiphers(Collection<String> sshCiphers)
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the
server or connector.
|
void |
setSshHostKeyAlgorithms(Collection<String> sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
|
void |
setSshKexs(Collection<String> sshKexs)
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server or connector.
|
void |
setSshMacs(Collection<String> sshMacs)
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server or connector.
|
void |
setTlsCiphers(Collection<String> tlsCiphers)
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
void |
setType(String type)
The resource type to which the security policy applies, either server or connector.
|
String |
toString()
Returns a string representation of this object.
|
DescribedSecurityPolicy |
withFips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
|
DescribedSecurityPolicy |
withProtocols(Collection<String> protocols)
Lists the file transfer protocols that the security policy applies to.
|
DescribedSecurityPolicy |
withProtocols(SecurityPolicyProtocol... protocols)
Lists the file transfer protocols that the security policy applies to.
|
DescribedSecurityPolicy |
withProtocols(String... protocols)
Lists the file transfer protocols that the security policy applies to.
|
DescribedSecurityPolicy |
withSecurityPolicyName(String securityPolicyName)
The text name of the specified security policy.
|
DescribedSecurityPolicy |
withSshCiphers(Collection<String> sshCiphers)
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the
server or connector.
|
DescribedSecurityPolicy |
withSshCiphers(String... sshCiphers)
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the
server or connector.
|
DescribedSecurityPolicy |
withSshHostKeyAlgorithms(Collection<String> sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
|
DescribedSecurityPolicy |
withSshHostKeyAlgorithms(String... sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
|
DescribedSecurityPolicy |
withSshKexs(Collection<String> sshKexs)
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server or connector.
|
DescribedSecurityPolicy |
withSshKexs(String... sshKexs)
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the
server or connector.
|
DescribedSecurityPolicy |
withSshMacs(Collection<String> sshMacs)
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server or connector.
|
DescribedSecurityPolicy |
withSshMacs(String... sshMacs)
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is
attached to the server or connector.
|
DescribedSecurityPolicy |
withTlsCiphers(Collection<String> tlsCiphers)
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
DescribedSecurityPolicy |
withTlsCiphers(String... tlsCiphers)
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is
attached to the server.
|
DescribedSecurityPolicy |
withType(SecurityPolicyResourceType type)
The resource type to which the security policy applies, either server or connector.
|
DescribedSecurityPolicy |
withType(String type)
The resource type to which the security policy applies, either server or connector.
|
public void setFips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter applies to both server and connector security policies.
fips
- Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter
applies to both server and connector security policies.public Boolean getFips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter applies to both server and connector security policies.
public DescribedSecurityPolicy withFips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter applies to both server and connector security policies.
fips
- Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter
applies to both server and connector security policies.public Boolean isFips()
Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter applies to both server and connector security policies.
public void setSecurityPolicyName(String securityPolicyName)
The text name of the specified security policy.
securityPolicyName
- The text name of the specified security policy.public String getSecurityPolicyName()
The text name of the specified security policy.
public DescribedSecurityPolicy withSecurityPolicyName(String securityPolicyName)
The text name of the specified security policy.
securityPolicyName
- The text name of the specified security policy.public List<String> getSshCiphers()
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
public void setSshCiphers(Collection<String> sshCiphers)
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
sshCiphers
- Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached
to the server or connector. This parameter applies to both server and connector security policies.public DescribedSecurityPolicy withSshCiphers(String... sshCiphers)
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
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
- Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached
to the server or connector. This parameter applies to both server and connector security policies.public DescribedSecurityPolicy withSshCiphers(Collection<String> sshCiphers)
Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
sshCiphers
- Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached
to the server or connector. This parameter applies to both server and connector security policies.public List<String> getSshKexs()
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
public void setSshKexs(Collection<String> sshKexs)
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
sshKexs
- Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to
the server or connector. This parameter applies to both server and connector security policies.public DescribedSecurityPolicy withSshKexs(String... sshKexs)
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
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
- Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to
the server or connector. This parameter applies to both server and connector security policies.public DescribedSecurityPolicy withSshKexs(Collection<String> sshKexs)
Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
sshKexs
- Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to
the server or connector. This parameter applies to both server and connector security policies.public List<String> getSshMacs()
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
public void setSshMacs(Collection<String> sshMacs)
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
sshMacs
- Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that
is attached to the server or connector. This parameter applies to both server and connector security
policies.public DescribedSecurityPolicy withSshMacs(String... sshMacs)
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
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
- Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that
is attached to the server or connector. This parameter applies to both server and connector security
policies.public DescribedSecurityPolicy withSshMacs(Collection<String> sshMacs)
Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server or connector. This parameter applies to both server and connector security policies.
sshMacs
- Lists the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that
is attached to the server or connector. This parameter applies to both server and connector security
policies.public List<String> getTlsCiphers()
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
This parameter only applies to security policies for servers.
This parameter only applies to security policies for servers.
public void setTlsCiphers(Collection<String> tlsCiphers)
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
This parameter only applies to security policies for servers.
tlsCiphers
- Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that
is attached to the server. This parameter only applies to security policies for servers.
public DescribedSecurityPolicy withTlsCiphers(String... tlsCiphers)
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
This parameter only applies to security policies for servers.
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
- Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that
is attached to the server. This parameter only applies to security policies for servers.
public DescribedSecurityPolicy withTlsCiphers(Collection<String> tlsCiphers)
Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
This parameter only applies to security policies for servers.
tlsCiphers
- Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that
is attached to the server. This parameter only applies to security policies for servers.
public List<String> getSshHostKeyAlgorithms()
Lists the host key algorithms for the security policy.
This parameter only applies to security policies for connectors.
This parameter only applies to security policies for connectors.
public void setSshHostKeyAlgorithms(Collection<String> sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
This parameter only applies to security policies for connectors.
sshHostKeyAlgorithms
- Lists the host key algorithms for the security policy. This parameter only applies to security policies for connectors.
public DescribedSecurityPolicy withSshHostKeyAlgorithms(String... sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
This parameter only applies to security policies for connectors.
NOTE: This method appends the values to the existing list (if any). Use
setSshHostKeyAlgorithms(java.util.Collection)
or withSshHostKeyAlgorithms(java.util.Collection)
if you want to override the existing values.
sshHostKeyAlgorithms
- Lists the host key algorithms for the security policy. This parameter only applies to security policies for connectors.
public DescribedSecurityPolicy withSshHostKeyAlgorithms(Collection<String> sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
This parameter only applies to security policies for connectors.
sshHostKeyAlgorithms
- Lists the host key algorithms for the security policy. This parameter only applies to security policies for connectors.
public void setType(String type)
The resource type to which the security policy applies, either server or connector.
type
- The resource type to which the security policy applies, either server or connector.SecurityPolicyResourceType
public String getType()
The resource type to which the security policy applies, either server or connector.
SecurityPolicyResourceType
public DescribedSecurityPolicy withType(String type)
The resource type to which the security policy applies, either server or connector.
type
- The resource type to which the security policy applies, either server or connector.SecurityPolicyResourceType
public DescribedSecurityPolicy withType(SecurityPolicyResourceType type)
The resource type to which the security policy applies, either server or connector.
type
- The resource type to which the security policy applies, either server or connector.SecurityPolicyResourceType
public List<String> getProtocols()
Lists the file transfer protocols that the security policy applies to.
SecurityPolicyProtocol
public void setProtocols(Collection<String> protocols)
Lists the file transfer protocols that the security policy applies to.
protocols
- Lists the file transfer protocols that the security policy applies to.SecurityPolicyProtocol
public DescribedSecurityPolicy withProtocols(String... protocols)
Lists the file transfer protocols that the security policy applies to.
NOTE: This method appends the values to the existing list (if any). Use
setProtocols(java.util.Collection)
or withProtocols(java.util.Collection)
if you want to
override the existing values.
protocols
- Lists the file transfer protocols that the security policy applies to.SecurityPolicyProtocol
public DescribedSecurityPolicy withProtocols(Collection<String> protocols)
Lists the file transfer protocols that the security policy applies to.
protocols
- Lists the file transfer protocols that the security policy applies to.SecurityPolicyProtocol
public DescribedSecurityPolicy withProtocols(SecurityPolicyProtocol... protocols)
Lists the file transfer protocols that the security policy applies to.
protocols
- Lists the file transfer protocols that the security policy applies to.SecurityPolicyProtocol
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.