Class GetBlockPublicAccessConfigurationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.emr.model.EmrResponse
-
- software.amazon.awssdk.services.emr.model.GetBlockPublicAccessConfigurationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBlockPublicAccessConfigurationResponse.Builder,GetBlockPublicAccessConfigurationResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetBlockPublicAccessConfigurationResponse extends EmrResponse implements ToCopyableBuilder<GetBlockPublicAccessConfigurationResponse.Builder,GetBlockPublicAccessConfigurationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetBlockPublicAccessConfigurationResponse.Builder
-
Method Summary
-
Methods inherited from class software.amazon.awssdk.services.emr.model.EmrResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
blockPublicAccessConfiguration
public 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
PermittedPublicSecurityGroupRuleRangesin theBlockPublicAccessConfiguration. 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 Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
- Returns:
- 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
PermittedPublicSecurityGroupRuleRangesin theBlockPublicAccessConfiguration. 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 Amazon EMR cluster in a Region before this date, block public access is enabled by default in that Region.
-
blockPublicAccessConfigurationMetadata
public final BlockPublicAccessConfigurationMetadata blockPublicAccessConfigurationMetadata()
Properties that describe the Amazon Web Services principal that created the
BlockPublicAccessConfigurationusing thePutBlockPublicAccessConfigurationaction 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.- Returns:
- Properties that describe the Amazon Web Services principal that created the
BlockPublicAccessConfigurationusing thePutBlockPublicAccessConfigurationaction 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.
-
toBuilder
public GetBlockPublicAccessConfigurationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBlockPublicAccessConfigurationResponse.Builder,GetBlockPublicAccessConfigurationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetBlockPublicAccessConfigurationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetBlockPublicAccessConfigurationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-