/* * 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.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Information about an Amazon OpenSearch Service domain. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class AwsOpenSearchServiceDomainDetails implements Serializable, Cloneable, StructuredPojo { /** ** The ARN of the OpenSearch Service domain. *
*/ private String arn; /** ** IAM policy document that specifies the access policies for the OpenSearch Service domain. *
*/ private String accessPolicies; /** ** The name of the endpoint. *
*/ private String domainName; /** ** The identifier of the domain. *
*/ private String id; /** ** The domain endpoint. *
*/ private String domainEndpoint; /** ** The version of the domain engine. *
*/ private String engineVersion; /** ** Details about the configuration for encryption at rest. *
*/ private AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails encryptionAtRestOptions; /** ** Details about the configuration for node-to-node encryption. *
*/ private AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails nodeToNodeEncryptionOptions; /** ** Information about the status of a domain relative to the latest service software. *
*/ private AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails serviceSoftwareOptions; /** ** Details about the configuration of an OpenSearch cluster. *
*/ private AwsOpenSearchServiceDomainClusterConfigDetails clusterConfig; /** ** Additional options for the domain endpoint. *
*/ private AwsOpenSearchServiceDomainDomainEndpointOptionsDetails domainEndpointOptions; /** *
* Information that OpenSearch Service derives based on VPCOptions
for the domain.
*
* Configures the CloudWatch Logs to publish for the OpenSearch domain. *
*/ private AwsOpenSearchServiceDomainLogPublishingOptionsDetails logPublishingOptions; /** ** The domain endpoints. Used if the OpenSearch domain resides in a VPC. *
*
* This is a map of key-value pairs. The key is always vpc
. The value is the endpoint.
*
* Specifies options for fine-grained access control. *
*/ private AwsOpenSearchServiceDomainAdvancedSecurityOptionsDetails advancedSecurityOptions; /** ** The ARN of the OpenSearch Service domain. *
* * @param arn * The ARN of the OpenSearch Service domain. */ public void setArn(String arn) { this.arn = arn; } /** ** The ARN of the OpenSearch Service domain. *
* * @return The ARN of the OpenSearch Service domain. */ public String getArn() { return this.arn; } /** ** The ARN of the OpenSearch Service domain. *
* * @param arn * The ARN of the OpenSearch Service domain. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withArn(String arn) { setArn(arn); return this; } /** ** IAM policy document that specifies the access policies for the OpenSearch Service domain. *
* * @param accessPolicies * IAM policy document that specifies the access policies for the OpenSearch Service domain. */ public void setAccessPolicies(String accessPolicies) { this.accessPolicies = accessPolicies; } /** ** IAM policy document that specifies the access policies for the OpenSearch Service domain. *
* * @return IAM policy document that specifies the access policies for the OpenSearch Service domain. */ public String getAccessPolicies() { return this.accessPolicies; } /** ** IAM policy document that specifies the access policies for the OpenSearch Service domain. *
* * @param accessPolicies * IAM policy document that specifies the access policies for the OpenSearch Service domain. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withAccessPolicies(String accessPolicies) { setAccessPolicies(accessPolicies); return this; } /** ** The name of the endpoint. *
* * @param domainName * The name of the endpoint. */ public void setDomainName(String domainName) { this.domainName = domainName; } /** ** The name of the endpoint. *
* * @return The name of the endpoint. */ public String getDomainName() { return this.domainName; } /** ** The name of the endpoint. *
* * @param domainName * The name of the endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withDomainName(String domainName) { setDomainName(domainName); return this; } /** ** The identifier of the domain. *
* * @param id * The identifier of the domain. */ public void setId(String id) { this.id = id; } /** ** The identifier of the domain. *
* * @return The identifier of the domain. */ public String getId() { return this.id; } /** ** The identifier of the domain. *
* * @param id * The identifier of the domain. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withId(String id) { setId(id); return this; } /** ** The domain endpoint. *
* * @param domainEndpoint * The domain endpoint. */ public void setDomainEndpoint(String domainEndpoint) { this.domainEndpoint = domainEndpoint; } /** ** The domain endpoint. *
* * @return The domain endpoint. */ public String getDomainEndpoint() { return this.domainEndpoint; } /** ** The domain endpoint. *
* * @param domainEndpoint * The domain endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withDomainEndpoint(String domainEndpoint) { setDomainEndpoint(domainEndpoint); return this; } /** ** The version of the domain engine. *
* * @param engineVersion * The version of the domain engine. */ public void setEngineVersion(String engineVersion) { this.engineVersion = engineVersion; } /** ** The version of the domain engine. *
* * @return The version of the domain engine. */ public String getEngineVersion() { return this.engineVersion; } /** ** The version of the domain engine. *
* * @param engineVersion * The version of the domain engine. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withEngineVersion(String engineVersion) { setEngineVersion(engineVersion); return this; } /** ** Details about the configuration for encryption at rest. *
* * @param encryptionAtRestOptions * Details about the configuration for encryption at rest. */ public void setEncryptionAtRestOptions(AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails encryptionAtRestOptions) { this.encryptionAtRestOptions = encryptionAtRestOptions; } /** ** Details about the configuration for encryption at rest. *
* * @return Details about the configuration for encryption at rest. */ public AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails getEncryptionAtRestOptions() { return this.encryptionAtRestOptions; } /** ** Details about the configuration for encryption at rest. *
* * @param encryptionAtRestOptions * Details about the configuration for encryption at rest. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withEncryptionAtRestOptions(AwsOpenSearchServiceDomainEncryptionAtRestOptionsDetails encryptionAtRestOptions) { setEncryptionAtRestOptions(encryptionAtRestOptions); return this; } /** ** Details about the configuration for node-to-node encryption. *
* * @param nodeToNodeEncryptionOptions * Details about the configuration for node-to-node encryption. */ public void setNodeToNodeEncryptionOptions(AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails nodeToNodeEncryptionOptions) { this.nodeToNodeEncryptionOptions = nodeToNodeEncryptionOptions; } /** ** Details about the configuration for node-to-node encryption. *
* * @return Details about the configuration for node-to-node encryption. */ public AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails getNodeToNodeEncryptionOptions() { return this.nodeToNodeEncryptionOptions; } /** ** Details about the configuration for node-to-node encryption. *
* * @param nodeToNodeEncryptionOptions * Details about the configuration for node-to-node encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withNodeToNodeEncryptionOptions( AwsOpenSearchServiceDomainNodeToNodeEncryptionOptionsDetails nodeToNodeEncryptionOptions) { setNodeToNodeEncryptionOptions(nodeToNodeEncryptionOptions); return this; } /** ** Information about the status of a domain relative to the latest service software. *
* * @param serviceSoftwareOptions * Information about the status of a domain relative to the latest service software. */ public void setServiceSoftwareOptions(AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails serviceSoftwareOptions) { this.serviceSoftwareOptions = serviceSoftwareOptions; } /** ** Information about the status of a domain relative to the latest service software. *
* * @return Information about the status of a domain relative to the latest service software. */ public AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails getServiceSoftwareOptions() { return this.serviceSoftwareOptions; } /** ** Information about the status of a domain relative to the latest service software. *
* * @param serviceSoftwareOptions * Information about the status of a domain relative to the latest service software. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withServiceSoftwareOptions(AwsOpenSearchServiceDomainServiceSoftwareOptionsDetails serviceSoftwareOptions) { setServiceSoftwareOptions(serviceSoftwareOptions); return this; } /** ** Details about the configuration of an OpenSearch cluster. *
* * @param clusterConfig * Details about the configuration of an OpenSearch cluster. */ public void setClusterConfig(AwsOpenSearchServiceDomainClusterConfigDetails clusterConfig) { this.clusterConfig = clusterConfig; } /** ** Details about the configuration of an OpenSearch cluster. *
* * @return Details about the configuration of an OpenSearch cluster. */ public AwsOpenSearchServiceDomainClusterConfigDetails getClusterConfig() { return this.clusterConfig; } /** ** Details about the configuration of an OpenSearch cluster. *
* * @param clusterConfig * Details about the configuration of an OpenSearch cluster. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withClusterConfig(AwsOpenSearchServiceDomainClusterConfigDetails clusterConfig) { setClusterConfig(clusterConfig); return this; } /** ** Additional options for the domain endpoint. *
* * @param domainEndpointOptions * Additional options for the domain endpoint. */ public void setDomainEndpointOptions(AwsOpenSearchServiceDomainDomainEndpointOptionsDetails domainEndpointOptions) { this.domainEndpointOptions = domainEndpointOptions; } /** ** Additional options for the domain endpoint. *
* * @return Additional options for the domain endpoint. */ public AwsOpenSearchServiceDomainDomainEndpointOptionsDetails getDomainEndpointOptions() { return this.domainEndpointOptions; } /** ** Additional options for the domain endpoint. *
* * @param domainEndpointOptions * Additional options for the domain endpoint. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withDomainEndpointOptions(AwsOpenSearchServiceDomainDomainEndpointOptionsDetails domainEndpointOptions) { setDomainEndpointOptions(domainEndpointOptions); return this; } /** *
* Information that OpenSearch Service derives based on VPCOptions
for the domain.
*
VPCOptions
for the domain.
*/
public void setVpcOptions(AwsOpenSearchServiceDomainVpcOptionsDetails vpcOptions) {
this.vpcOptions = vpcOptions;
}
/**
*
* Information that OpenSearch Service derives based on VPCOptions
for the domain.
*
VPCOptions
for the domain.
*/
public AwsOpenSearchServiceDomainVpcOptionsDetails getVpcOptions() {
return this.vpcOptions;
}
/**
*
* Information that OpenSearch Service derives based on VPCOptions
for the domain.
*
VPCOptions
for the domain.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsOpenSearchServiceDomainDetails withVpcOptions(AwsOpenSearchServiceDomainVpcOptionsDetails vpcOptions) {
setVpcOptions(vpcOptions);
return this;
}
/**
* * Configures the CloudWatch Logs to publish for the OpenSearch domain. *
* * @param logPublishingOptions * Configures the CloudWatch Logs to publish for the OpenSearch domain. */ public void setLogPublishingOptions(AwsOpenSearchServiceDomainLogPublishingOptionsDetails logPublishingOptions) { this.logPublishingOptions = logPublishingOptions; } /** ** Configures the CloudWatch Logs to publish for the OpenSearch domain. *
* * @return Configures the CloudWatch Logs to publish for the OpenSearch domain. */ public AwsOpenSearchServiceDomainLogPublishingOptionsDetails getLogPublishingOptions() { return this.logPublishingOptions; } /** ** Configures the CloudWatch Logs to publish for the OpenSearch domain. *
* * @param logPublishingOptions * Configures the CloudWatch Logs to publish for the OpenSearch domain. * @return Returns a reference to this object so that method calls can be chained together. */ public AwsOpenSearchServiceDomainDetails withLogPublishingOptions(AwsOpenSearchServiceDomainLogPublishingOptionsDetails logPublishingOptions) { setLogPublishingOptions(logPublishingOptions); return this; } /** ** The domain endpoints. Used if the OpenSearch domain resides in a VPC. *
*
* This is a map of key-value pairs. The key is always vpc
. The value is the endpoint.
*
* This is a map of key-value pairs. The key is always
* The domain endpoints. Used if the OpenSearch domain resides in a VPC.
*
* This is a map of key-value pairs. The key is always vpc
. The value is the endpoint.
*/
public java.util.Mapvpc
. The value is the endpoint.
*
* This is a map of key-value pairs. The key is always
* The domain endpoints. Used if the OpenSearch domain resides in a VPC.
*
* This is a map of key-value pairs. The key is always vpc
. The value is the endpoint.
*/
public void setDomainEndpoints(java.util.Mapvpc
. The value is the endpoint.
*
* This is a map of key-value pairs. The key is always
* Specifies options for fine-grained access control.
*
* Specifies options for fine-grained access control.
*
* Specifies options for fine-grained access control.
* vpc
. The value is the endpoint.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public AwsOpenSearchServiceDomainDetails withDomainEndpoints(java.util.Map