Interface Endpoint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Endpoint.Builder,Endpoint>,SdkBuilder<Endpoint.Builder,Endpoint>,SdkPojo
- Enclosing class:
- Endpoint
public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Endpoint.Builderarn(String arn)The ARN of the endpoint.Endpoint.BuildercertificateArn(String certificateArn)Deprecated.Customer provided certificate-arn is deprecated and would be removed in future.default Endpoint.BuildercertificateAuthority(Consumer<Certificate.Builder> certificateAuthority)The certificate generated by emr control plane on customer behalf to secure the managed endpoint.Endpoint.BuildercertificateAuthority(Certificate certificateAuthority)The certificate generated by emr control plane on customer behalf to secure the managed endpoint.default Endpoint.BuilderconfigurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides)The configuration settings that are used to override existing configurations for endpoints.Endpoint.BuilderconfigurationOverrides(ConfigurationOverrides configurationOverrides)The configuration settings that are used to override existing configurations for endpoints.Endpoint.BuildercreatedAt(Instant createdAt)The date and time when the endpoint was created.Endpoint.BuilderexecutionRoleArn(String executionRoleArn)The execution role ARN of the endpoint.Endpoint.BuilderfailureReason(String failureReason)The reasons why the endpoint has failed.Endpoint.BuilderfailureReason(FailureReason failureReason)The reasons why the endpoint has failed.Endpoint.Builderid(String id)The ID of the endpoint.Endpoint.Buildername(String name)The name of the endpoint.Endpoint.BuilderreleaseLabel(String releaseLabel)The EMR release version to be used for the endpoint.Endpoint.BuildersecurityGroup(String securityGroup)The security group configuration of the endpoint.Endpoint.BuilderserverUrl(String serverUrl)The server URL of the endpoint.Endpoint.Builderstate(String state)The state of the endpoint.Endpoint.Builderstate(EndpointState state)The state of the endpoint.Endpoint.BuilderstateDetails(String stateDetails)Additional details of the endpoint state.Endpoint.BuildersubnetIds(String... subnetIds)The subnet IDs of the endpoint.Endpoint.BuildersubnetIds(Collection<String> subnetIds)The subnet IDs of the endpoint.Endpoint.Buildertags(Map<String,String> tags)The tags of the endpoint.Endpoint.Buildertype(String type)The type of the endpoint.Endpoint.BuildervirtualClusterId(String virtualClusterId)The ID of the endpoint's virtual cluster.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
id
Endpoint.Builder id(String id)
The ID of the endpoint.
- Parameters:
id- The ID of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Endpoint.Builder name(String name)
The name of the endpoint.
- Parameters:
name- The name of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Endpoint.Builder arn(String arn)
The ARN of the endpoint.
- Parameters:
arn- The ARN of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualClusterId
Endpoint.Builder virtualClusterId(String virtualClusterId)
The ID of the endpoint's virtual cluster.
- Parameters:
virtualClusterId- The ID of the endpoint's virtual cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Endpoint.Builder type(String type)
The type of the endpoint.
- Parameters:
type- The type of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
Endpoint.Builder state(String state)
The state of the endpoint.
- Parameters:
state- The state of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointState,EndpointState
-
state
Endpoint.Builder state(EndpointState state)
The state of the endpoint.
- Parameters:
state- The state of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EndpointState,EndpointState
-
releaseLabel
Endpoint.Builder releaseLabel(String releaseLabel)
The EMR release version to be used for the endpoint.
- Parameters:
releaseLabel- The EMR release version to be used for the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
Endpoint.Builder executionRoleArn(String executionRoleArn)
The execution role ARN of the endpoint.
- Parameters:
executionRoleArn- The execution role ARN of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateArn
@Deprecated Endpoint.Builder certificateArn(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.
- Parameters:
certificateArn- The certificate ARN of the endpoint. This field is under deprecation and will be removed in future.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAuthority
Endpoint.Builder certificateAuthority(Certificate certificateAuthority)
The certificate generated by emr control plane on customer behalf to secure the managed endpoint.
- Parameters:
certificateAuthority- The certificate generated by emr control plane on customer behalf to secure the managed endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificateAuthority
default Endpoint.Builder certificateAuthority(Consumer<Certificate.Builder> certificateAuthority)
The certificate generated by emr control plane on customer behalf to secure the managed endpoint.
This is a convenience method that creates an instance of theCertificate.Builderavoiding the need to create one manually viaCertificate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificateAuthority(Certificate).- Parameters:
certificateAuthority- a consumer that will call methods onCertificate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
certificateAuthority(Certificate)
-
configurationOverrides
Endpoint.Builder configurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration settings that are used to override existing configurations for endpoints.
- Parameters:
configurationOverrides- The configuration settings that are used to override existing configurations for endpoints.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationOverrides
default Endpoint.Builder configurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides)
The configuration settings that are used to override existing configurations for endpoints.
This is a convenience method that creates an instance of theConfigurationOverrides.Builderavoiding the need to create one manually viaConfigurationOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationOverrides(ConfigurationOverrides).- Parameters:
configurationOverrides- a consumer that will call methods onConfigurationOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configurationOverrides(ConfigurationOverrides)
-
serverUrl
Endpoint.Builder serverUrl(String serverUrl)
The server URL of the endpoint.
- Parameters:
serverUrl- The server URL of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
Endpoint.Builder createdAt(Instant createdAt)
The date and time when the endpoint was created.
- Parameters:
createdAt- The date and time when the endpoint was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroup
Endpoint.Builder securityGroup(String securityGroup)
The security group configuration of the endpoint.
- Parameters:
securityGroup- The security group configuration of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
Endpoint.Builder subnetIds(Collection<String> subnetIds)
The subnet IDs of the endpoint.
- Parameters:
subnetIds- The subnet IDs of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
Endpoint.Builder subnetIds(String... subnetIds)
The subnet IDs of the endpoint.
- Parameters:
subnetIds- The subnet IDs of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateDetails
Endpoint.Builder stateDetails(String stateDetails)
Additional details of the endpoint state.
- Parameters:
stateDetails- Additional details of the endpoint state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
Endpoint.Builder failureReason(String failureReason)
The reasons why the endpoint has failed.
- Parameters:
failureReason- The reasons why the endpoint has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureReason,FailureReason
-
failureReason
Endpoint.Builder failureReason(FailureReason failureReason)
The reasons why the endpoint has failed.
- Parameters:
failureReason- The reasons why the endpoint has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FailureReason,FailureReason
-
tags
Endpoint.Builder tags(Map<String,String> tags)
The tags of the endpoint.
- Parameters:
tags- The tags of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-