@Generated(value="software.amazon.awssdk:codegen") public final class PutBlockPublicAccessConfigurationRequest extends EmrRequest implements ToCopyableBuilder<PutBlockPublicAccessConfigurationRequest.Builder,PutBlockPublicAccessConfigurationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutBlockPublicAccessConfigurationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
BlockPublicAccessConfiguration |
blockPublicAccessConfiguration()
A configuration for Amazon EMR block public access.
|
static PutBlockPublicAccessConfigurationRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutBlockPublicAccessConfigurationRequest.Builder> |
serializableBuilderClass() |
PutBlockPublicAccessConfigurationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final BlockPublicAccessConfiguration blockPublicAccessConfiguration()
A configuration for Amazon EMR block public access. The configuration applies to all clusters created in your
account for the current Region. The configuration specifies whether block public access is enabled. If block
public access is enabled, security groups associated with the cluster cannot have rules that allow inbound
traffic from 0.0.0.0/0 or ::/0 on a port, unless the port is specified as an exception using
PermittedPublicSecurityGroupRuleRanges in the BlockPublicAccessConfiguration. By
default, Port 22 (SSH) is an exception, and public access is allowed on this port. You can change this by
updating BlockPublicSecurityGroupRules to remove the exception.
For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
PermittedPublicSecurityGroupRuleRanges in the
BlockPublicAccessConfiguration. By default, Port 22 (SSH) is an exception, and public access
is allowed on this port. You can change this by updating BlockPublicSecurityGroupRules to
remove the exception. For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
public PutBlockPublicAccessConfigurationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutBlockPublicAccessConfigurationRequest.Builder,PutBlockPublicAccessConfigurationRequest>toBuilder in class EmrRequestpublic static PutBlockPublicAccessConfigurationRequest.Builder builder()
public static Class<? extends PutBlockPublicAccessConfigurationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.