Class Endpoint
- java.lang.Object
-
- software.amazon.awssdk.services.emrcontainers.model.Endpoint
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Endpoint.Builder,Endpoint>
@Generated("software.amazon.awssdk:codegen") public final class Endpoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Endpoint.Builder,Endpoint>
This entity represents the endpoint that is managed by Amazon EMR on EKS.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEndpoint.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Stringarn()The ARN of the endpoint.static Endpoint.Builderbuilder()StringcertificateArn()Deprecated.Customer provided certificate-arn is deprecated and would be removed in future.CertificatecertificateAuthority()The certificate generated by emr control plane on customer behalf to secure the managed endpoint.ConfigurationOverridesconfigurationOverrides()The configuration settings that are used to override existing configurations for endpoints.InstantcreatedAt()The date and time when the endpoint was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexecutionRoleArn()The execution role ARN of the endpoint.FailureReasonfailureReason()The reasons why the endpoint has failed.StringfailureReasonAsString()The reasons why the endpoint has failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSubnetIds()For responses, this returns true if the service returned a value for the SubnetIds property.booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.Stringid()The ID of the endpoint.Stringname()The name of the endpoint.StringreleaseLabel()The EMR release version to be used for the endpoint.List<SdkField<?>>sdkFields()StringsecurityGroup()The security group configuration of the endpoint.static Class<? extends Endpoint.Builder>serializableBuilderClass()StringserverUrl()The server URL of the endpoint.EndpointStatestate()The state of the endpoint.StringstateAsString()The state of the endpoint.StringstateDetails()Additional details of the endpoint state.List<String>subnetIds()The subnet IDs of the endpoint.Map<String,String>tags()The tags of the endpoint.Endpoint.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of the endpoint.StringvirtualClusterId()The ID of the endpoint's virtual cluster.-
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
-
id
public final String id()
The ID of the endpoint.
- Returns:
- The ID of the endpoint.
-
name
public final String name()
The name of the endpoint.
- Returns:
- The name of the endpoint.
-
arn
public final String arn()
The ARN of the endpoint.
- Returns:
- The ARN of the endpoint.
-
virtualClusterId
public final String virtualClusterId()
The ID of the endpoint's virtual cluster.
- Returns:
- The ID of the endpoint's virtual cluster.
-
type
public final String type()
The type of the endpoint.
- Returns:
- The type of the endpoint.
-
state
public final EndpointState state()
The state of the endpoint.
If the service returns an enum value that is not available in the current SDK version,
statewill returnEndpointState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the endpoint.
- See Also:
EndpointState
-
stateAsString
public final String stateAsString()
The state of the endpoint.
If the service returns an enum value that is not available in the current SDK version,
statewill returnEndpointState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the endpoint.
- See Also:
EndpointState
-
releaseLabel
public final String releaseLabel()
The EMR release version to be used for the endpoint.
- Returns:
- The EMR release version to be used for the endpoint.
-
executionRoleArn
public final String executionRoleArn()
The execution role ARN of the endpoint.
- Returns:
- The execution role ARN of the endpoint.
-
certificateArn
@Deprecated public final String certificateArn()
Deprecated.Customer provided certificate-arn is deprecated and would be removed in future.The certificate ARN of the endpoint. This field is under deprecation and will be removed in future.
- Returns:
- The certificate ARN of the endpoint. This field is under deprecation and will be removed in future.
-
certificateAuthority
public final Certificate certificateAuthority()
The certificate generated by emr control plane on customer behalf to secure the managed endpoint.
- Returns:
- The certificate generated by emr control plane on customer behalf to secure the managed endpoint.
-
configurationOverrides
public final ConfigurationOverrides configurationOverrides()
The configuration settings that are used to override existing configurations for endpoints.
- Returns:
- The configuration settings that are used to override existing configurations for endpoints.
-
serverUrl
public final String serverUrl()
The server URL of the endpoint.
- Returns:
- The server URL of the endpoint.
-
createdAt
public final Instant createdAt()
The date and time when the endpoint was created.
- Returns:
- The date and time when the endpoint was created.
-
securityGroup
public final String securityGroup()
The security group configuration of the endpoint.
- Returns:
- The security group configuration of the endpoint.
-
hasSubnetIds
public final boolean hasSubnetIds()
For responses, this returns true if the service returned a value for the SubnetIds property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
subnetIds
public final List<String> subnetIds()
The subnet IDs of the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSubnetIds()method.- Returns:
- The subnet IDs of the endpoint.
-
stateDetails
public final String stateDetails()
Additional details of the endpoint state.
- Returns:
- Additional details of the endpoint state.
-
failureReason
public final FailureReason failureReason()
The reasons why the endpoint has failed.
If the service returns an enum value that is not available in the current SDK version,
failureReasonwill returnFailureReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureReasonAsString().- Returns:
- The reasons why the endpoint has failed.
- See Also:
FailureReason
-
failureReasonAsString
public final String failureReasonAsString()
The reasons why the endpoint has failed.
If the service returns an enum value that is not available in the current SDK version,
failureReasonwill returnFailureReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfailureReasonAsString().- Returns:
- The reasons why the endpoint has failed.
- See Also:
FailureReason
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
tags
public final Map<String,String> tags()
The tags of the endpoint.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTags()method.- Returns:
- The tags of the endpoint.
-
toBuilder
public Endpoint.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Endpoint.Builder,Endpoint>
-
builder
public static Endpoint.Builder builder()
-
serializableBuilderClass
public static Class<? extends Endpoint.Builder> serializableBuilderClass()
-
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.
-
-