@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BlockPublicAccessConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
 A configuration for Amazon EMR block public access. When BlockPublicSecurityGroupRules is set to
 true, Amazon EMR prevents cluster creation if one of the cluster's security groups has a rule that
 allows inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using
 PermittedPublicSecurityGroupRuleRanges.
 
| Constructor and Description | 
|---|
| BlockPublicAccessConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| BlockPublicAccessConfiguration | clone() | 
| boolean | equals(Object obj) | 
| Boolean | getBlockPublicSecurityGroupRules()
 Indicates whether Amazon EMR block public access is enabled ( true) or disabled (false). | 
| List<PortRange> | getPermittedPublicSecurityGroupRuleRanges()
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. | 
| int | hashCode() | 
| Boolean | isBlockPublicSecurityGroupRules()
 Indicates whether Amazon EMR block public access is enabled ( true) or disabled (false). | 
| void | marshall(ProtocolMarshaller protocolMarshaller) | 
| void | setBlockPublicSecurityGroupRules(Boolean blockPublicSecurityGroupRules)
 Indicates whether Amazon EMR block public access is enabled ( true) or disabled (false). | 
| void | setPermittedPublicSecurityGroupRuleRanges(Collection<PortRange> permittedPublicSecurityGroupRuleRanges)
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. | 
| String | toString()Returns a string representation of this object. | 
| BlockPublicAccessConfiguration | withBlockPublicSecurityGroupRules(Boolean blockPublicSecurityGroupRules)
 Indicates whether Amazon EMR block public access is enabled ( true) or disabled (false). | 
| BlockPublicAccessConfiguration | withPermittedPublicSecurityGroupRuleRanges(Collection<PortRange> permittedPublicSecurityGroupRuleRanges)
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. | 
| BlockPublicAccessConfiguration | withPermittedPublicSecurityGroupRuleRanges(PortRange... permittedPublicSecurityGroupRuleRanges)
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. | 
public void setBlockPublicSecurityGroupRules(Boolean blockPublicSecurityGroupRules)
 Indicates whether Amazon EMR block public access is enabled (true) or disabled (false).
 By default, the value is false for accounts that have created EMR clusters before July 2019. For
 accounts created after this, the default is true.
 
blockPublicSecurityGroupRules - Indicates whether Amazon EMR block public access is enabled (true) or disabled (
        false). By default, the value is false for accounts that have created EMR
        clusters before July 2019. For accounts created after this, the default is true.public Boolean getBlockPublicSecurityGroupRules()
 Indicates whether Amazon EMR block public access is enabled (true) or disabled (false).
 By default, the value is false for accounts that have created EMR clusters before July 2019. For
 accounts created after this, the default is true.
 
true) or disabled (
         false). By default, the value is false for accounts that have created EMR
         clusters before July 2019. For accounts created after this, the default is true.public BlockPublicAccessConfiguration withBlockPublicSecurityGroupRules(Boolean blockPublicSecurityGroupRules)
 Indicates whether Amazon EMR block public access is enabled (true) or disabled (false).
 By default, the value is false for accounts that have created EMR clusters before July 2019. For
 accounts created after this, the default is true.
 
blockPublicSecurityGroupRules - Indicates whether Amazon EMR block public access is enabled (true) or disabled (
        false). By default, the value is false for accounts that have created EMR
        clusters before July 2019. For accounts created after this, the default is true.public Boolean isBlockPublicSecurityGroupRules()
 Indicates whether Amazon EMR block public access is enabled (true) or disabled (false).
 By default, the value is false for accounts that have created EMR clusters before July 2019. For
 accounts created after this, the default is true.
 
true) or disabled (
         false). By default, the value is false for accounts that have created EMR
         clusters before July 2019. For accounts created after this, the default is true.public List<PortRange> getPermittedPublicSecurityGroupRuleRanges()
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. For example, if Port 23 (Telnet) is specified for
 PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security group
 associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port
 ::/0 as the source.
 
 By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
 PermittedPublicSecurityGroupRuleRanges.
 
PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security
         group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0
         or IPv6 port ::/0 as the source.
         
         By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
         PermittedPublicSecurityGroupRuleRanges.
public void setPermittedPublicSecurityGroupRuleRanges(Collection<PortRange> permittedPublicSecurityGroupRuleRanges)
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. For example, if Port 23 (Telnet) is specified for
 PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security group
 associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port
 ::/0 as the source.
 
 By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
 PermittedPublicSecurityGroupRuleRanges.
 
permittedPublicSecurityGroupRuleRanges - Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic
        from all public sources. For example, if Port 23 (Telnet) is specified for
        PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security
        group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or
        IPv6 port ::/0 as the source.
        
        By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
        PermittedPublicSecurityGroupRuleRanges.
public BlockPublicAccessConfiguration withPermittedPublicSecurityGroupRuleRanges(PortRange... permittedPublicSecurityGroupRuleRanges)
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. For example, if Port 23 (Telnet) is specified for
 PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security group
 associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port
 ::/0 as the source.
 
 By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
 PermittedPublicSecurityGroupRuleRanges.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setPermittedPublicSecurityGroupRuleRanges(java.util.Collection) or
 withPermittedPublicSecurityGroupRuleRanges(java.util.Collection) if you want to override the existing
 values.
 
permittedPublicSecurityGroupRuleRanges - Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic
        from all public sources. For example, if Port 23 (Telnet) is specified for
        PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security
        group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or
        IPv6 port ::/0 as the source.
        
        By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
        PermittedPublicSecurityGroupRuleRanges.
public BlockPublicAccessConfiguration withPermittedPublicSecurityGroupRuleRanges(Collection<PortRange> permittedPublicSecurityGroupRuleRanges)
 Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic from
 all public sources. For example, if Port 23 (Telnet) is specified for
 PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security group
 associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port
 ::/0 as the source.
 
 By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
 PermittedPublicSecurityGroupRuleRanges.
 
permittedPublicSecurityGroupRuleRanges - Specifies ports and port ranges that are permitted to have security group rules that allow inbound traffic
        from all public sources. For example, if Port 23 (Telnet) is specified for
        PermittedPublicSecurityGroupRuleRanges, Amazon EMR allows cluster creation if a security
        group associated with the cluster has a rule that allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or
        IPv6 port ::/0 as the source.
        
        By default, Port 22, which is used for SSH access to the cluster EC2 instances, is in the list of
        PermittedPublicSecurityGroupRuleRanges.
public String toString()
toString in class ObjectObject.toString()public BlockPublicAccessConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.