/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.emrcontainers.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateManagedEndpointRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* The name of the managed endpoint. *
*/ private String name; /** ** The ID of the virtual cluster for which a managed endpoint is created. *
*/ private String virtualClusterId; /** ** The type of the managed endpoint. *
*/ private String type; /** ** The Amazon EMR release version. *
*/ private String releaseLabel; /** ** The ARN of the execution role. *
*/ private String executionRoleArn; /** ** The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will be * removed in future releases. *
*/ @Deprecated private String certificateArn; /** ** The configuration settings that will be used to override existing configurations. *
*/ private ConfigurationOverrides configurationOverrides; /** ** The client idempotency token for this create call. *
*/ private String clientToken; /** ** The tags of the managed endpoint. *
*/ private java.util.Map* The name of the managed endpoint. *
* * @param name * The name of the managed endpoint. */ public void setName(String name) { this.name = name; } /** ** The name of the managed endpoint. *
* * @return The name of the managed endpoint. */ public String getName() { return this.name; } /** ** The name of the managed endpoint. *
* * @param name * The name of the managed endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withName(String name) { setName(name); return this; } /** ** The ID of the virtual cluster for which a managed endpoint is created. *
* * @param virtualClusterId * The ID of the virtual cluster for which a managed endpoint is created. */ public void setVirtualClusterId(String virtualClusterId) { this.virtualClusterId = virtualClusterId; } /** ** The ID of the virtual cluster for which a managed endpoint is created. *
* * @return The ID of the virtual cluster for which a managed endpoint is created. */ public String getVirtualClusterId() { return this.virtualClusterId; } /** ** The ID of the virtual cluster for which a managed endpoint is created. *
* * @param virtualClusterId * The ID of the virtual cluster for which a managed endpoint is created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withVirtualClusterId(String virtualClusterId) { setVirtualClusterId(virtualClusterId); return this; } /** ** The type of the managed endpoint. *
* * @param type * The type of the managed endpoint. */ public void setType(String type) { this.type = type; } /** ** The type of the managed endpoint. *
* * @return The type of the managed endpoint. */ public String getType() { return this.type; } /** ** The type of the managed endpoint. *
* * @param type * The type of the managed endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withType(String type) { setType(type); return this; } /** ** The Amazon EMR release version. *
* * @param releaseLabel * The Amazon EMR release version. */ public void setReleaseLabel(String releaseLabel) { this.releaseLabel = releaseLabel; } /** ** The Amazon EMR release version. *
* * @return The Amazon EMR release version. */ public String getReleaseLabel() { return this.releaseLabel; } /** ** The Amazon EMR release version. *
* * @param releaseLabel * The Amazon EMR release version. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withReleaseLabel(String releaseLabel) { setReleaseLabel(releaseLabel); return this; } /** ** The ARN of the execution role. *
* * @param executionRoleArn * The ARN of the execution role. */ public void setExecutionRoleArn(String executionRoleArn) { this.executionRoleArn = executionRoleArn; } /** ** The ARN of the execution role. *
* * @return The ARN of the execution role. */ public String getExecutionRoleArn() { return this.executionRoleArn; } /** ** The ARN of the execution role. *
* * @param executionRoleArn * The ARN of the execution role. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withExecutionRoleArn(String executionRoleArn) { setExecutionRoleArn(executionRoleArn); return this; } /** ** The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will be * removed in future releases. *
* * @param certificateArn * The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will * be removed in future releases. */ @Deprecated public void setCertificateArn(String certificateArn) { this.certificateArn = certificateArn; } /** ** The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will be * removed in future releases. *
* * @return The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will * be removed in future releases. */ @Deprecated public String getCertificateArn() { return this.certificateArn; } /** ** The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will be * removed in future releases. *
* * @param certificateArn * The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will * be removed in future releases. * @return Returns a reference to this object so that method calls can be chained together. */ @Deprecated public CreateManagedEndpointRequest withCertificateArn(String certificateArn) { setCertificateArn(certificateArn); return this; } /** ** The configuration settings that will be used to override existing configurations. *
* * @param configurationOverrides * The configuration settings that will be used to override existing configurations. */ public void setConfigurationOverrides(ConfigurationOverrides configurationOverrides) { this.configurationOverrides = configurationOverrides; } /** ** The configuration settings that will be used to override existing configurations. *
* * @return The configuration settings that will be used to override existing configurations. */ public ConfigurationOverrides getConfigurationOverrides() { return this.configurationOverrides; } /** ** The configuration settings that will be used to override existing configurations. *
* * @param configurationOverrides * The configuration settings that will be used to override existing configurations. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withConfigurationOverrides(ConfigurationOverrides configurationOverrides) { setConfigurationOverrides(configurationOverrides); return this; } /** ** The client idempotency token for this create call. *
* * @param clientToken * The client idempotency token for this create call. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** ** The client idempotency token for this create call. *
* * @return The client idempotency token for this create call. */ public String getClientToken() { return this.clientToken; } /** ** The client idempotency token for this create call. *
* * @param clientToken * The client idempotency token for this create call. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** The tags of the managed endpoint. *
* * @return The tags of the managed endpoint. */ public java.util.Map* The tags of the managed endpoint. *
* * @param tags * The tags of the managed endpoint. */ public void setTags(java.util.Map* The tags of the managed endpoint. *
* * @param tags * The tags of the managed endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateManagedEndpointRequest withTags(java.util.Map