@Generated(value="software.amazon.awssdk:codegen") public final class GetBlockPublicAccessConfigurationResponse extends EmrResponse implements ToCopyableBuilder<GetBlockPublicAccessConfigurationResponse.Builder,GetBlockPublicAccessConfigurationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetBlockPublicAccessConfigurationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
BlockPublicAccessConfiguration |
blockPublicAccessConfiguration()
A configuration for Amazon EMR block public access.
|
BlockPublicAccessConfigurationMetadata |
blockPublicAccessConfigurationMetadata()
Properties that describe the Amazon Web Services principal that created the
BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration action as
well as the date and time that the configuration was created. |
static GetBlockPublicAccessConfigurationResponse.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 GetBlockPublicAccessConfigurationResponse.Builder> |
serializableBuilderClass() |
GetBlockPublicAccessConfigurationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, 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 the block public access configuration 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 the block public access configuration 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 final BlockPublicAccessConfigurationMetadata blockPublicAccessConfigurationMetadata()
Properties that describe the Amazon Web Services principal that created the
BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration action as
well as the date and time that the configuration was created. Each time a configuration for block public access
is updated, Amazon EMR updates this metadata.
BlockPublicAccessConfiguration using the PutBlockPublicAccessConfiguration
action as well as the date and time that the configuration was created. Each time a configuration for
block public access is updated, Amazon EMR updates this metadata.public GetBlockPublicAccessConfigurationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetBlockPublicAccessConfigurationResponse.Builder,GetBlockPublicAccessConfigurationResponse>toBuilder in class AwsResponsepublic static GetBlockPublicAccessConfigurationResponse.Builder builder()
public static Class<? extends GetBlockPublicAccessConfigurationResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2023. All rights reserved.