Interface DescribedSecurityPolicy.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DescribedSecurityPolicy.Builder,DescribedSecurityPolicy>,SdkBuilder<DescribedSecurityPolicy.Builder,DescribedSecurityPolicy>,SdkPojo
- Enclosing class:
- DescribedSecurityPolicy
public static interface DescribedSecurityPolicy.Builder extends SdkPojo, CopyableBuilder<DescribedSecurityPolicy.Builder,DescribedSecurityPolicy>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribedSecurityPolicy.Builderfips(Boolean fips)Specifies whether this policy enables Federal Information Processing Standards (FIPS).DescribedSecurityPolicy.Builderprotocols(Collection<SecurityPolicyProtocol> protocols)Lists the file transfer protocols that the security policy applies to.DescribedSecurityPolicy.Builderprotocols(SecurityPolicyProtocol... protocols)Lists the file transfer protocols that the security policy applies to.DescribedSecurityPolicy.BuilderprotocolsWithStrings(String... protocols)Lists the file transfer protocols that the security policy applies to.DescribedSecurityPolicy.BuilderprotocolsWithStrings(Collection<String> protocols)Lists the file transfer protocols that the security policy applies to.DescribedSecurityPolicy.BuildersecurityPolicyName(String securityPolicyName)The text name of the specified security policy.DescribedSecurityPolicy.BuildersshCiphers(String... sshCiphers)Lists the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server or connector.DescribedSecurityPolicy.BuildersshCiphers(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.BuildersshHostKeyAlgorithms(String... sshHostKeyAlgorithms)Lists the host key algorithms for the security policy.DescribedSecurityPolicy.BuildersshHostKeyAlgorithms(Collection<String> sshHostKeyAlgorithms)Lists the host key algorithms for the security policy.DescribedSecurityPolicy.BuildersshKexs(String... sshKexs)Lists the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server or connector.DescribedSecurityPolicy.BuildersshKexs(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.BuildersshMacs(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.BuildersshMacs(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.BuildertlsCiphers(String... tlsCiphers)Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.DescribedSecurityPolicy.BuildertlsCiphers(Collection<String> tlsCiphers)Lists the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.DescribedSecurityPolicy.Buildertype(String type)The resource type to which the security policy applies, either server or connector.DescribedSecurityPolicy.Buildertype(SecurityPolicyResourceType type)The resource type to which the security policy applies, either server or connector.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fips
DescribedSecurityPolicy.Builder fips(Boolean fips)
Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter applies to both server and connector security policies.
- Parameters:
fips- Specifies whether this policy enables Federal Information Processing Standards (FIPS). This parameter applies to both server and connector security policies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityPolicyName
DescribedSecurityPolicy.Builder securityPolicyName(String securityPolicyName)
The text name of the specified security policy.
- Parameters:
securityPolicyName- The text name of the specified security policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshCiphers
DescribedSecurityPolicy.Builder sshCiphers(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshCiphers
DescribedSecurityPolicy.Builder sshCiphers(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshKexs
DescribedSecurityPolicy.Builder sshKexs(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshKexs
DescribedSecurityPolicy.Builder sshKexs(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshMacs
DescribedSecurityPolicy.Builder sshMacs(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshMacs
DescribedSecurityPolicy.Builder sshMacs(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsCiphers
DescribedSecurityPolicy.Builder tlsCiphers(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsCiphers
DescribedSecurityPolicy.Builder tlsCiphers(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshHostKeyAlgorithms
DescribedSecurityPolicy.Builder sshHostKeyAlgorithms(Collection<String> sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
This parameter only applies to security policies for connectors.
- Parameters:
sshHostKeyAlgorithms- Lists the host key algorithms for the security policy.This parameter only applies to security policies for connectors.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sshHostKeyAlgorithms
DescribedSecurityPolicy.Builder sshHostKeyAlgorithms(String... sshHostKeyAlgorithms)
Lists the host key algorithms for the security policy.
This parameter only applies to security policies for connectors.
- Parameters:
sshHostKeyAlgorithms- Lists the host key algorithms for the security policy.This parameter only applies to security policies for connectors.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
DescribedSecurityPolicy.Builder type(String type)
The resource type to which the security policy applies, either server or connector.
- Parameters:
type- The resource type to which the security policy applies, either server or connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityPolicyResourceType,SecurityPolicyResourceType
-
type
DescribedSecurityPolicy.Builder type(SecurityPolicyResourceType type)
The resource type to which the security policy applies, either server or connector.
- Parameters:
type- The resource type to which the security policy applies, either server or connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecurityPolicyResourceType,SecurityPolicyResourceType
-
protocolsWithStrings
DescribedSecurityPolicy.Builder protocolsWithStrings(Collection<String> protocols)
Lists the file transfer protocols that the security policy applies to.
- Parameters:
protocols- Lists the file transfer protocols that the security policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolsWithStrings
DescribedSecurityPolicy.Builder protocolsWithStrings(String... protocols)
Lists the file transfer protocols that the security policy applies to.
- Parameters:
protocols- Lists the file transfer protocols that the security policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocols
DescribedSecurityPolicy.Builder protocols(Collection<SecurityPolicyProtocol> protocols)
Lists the file transfer protocols that the security policy applies to.
- Parameters:
protocols- Lists the file transfer protocols that the security policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocols
DescribedSecurityPolicy.Builder protocols(SecurityPolicyProtocol... protocols)
Lists the file transfer protocols that the security policy applies to.
- Parameters:
protocols- Lists the file transfer protocols that the security policy applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-