
com.pulumi.azurenative.elastic.outputs.ElasticPropertiesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.elastic.outputs;
import com.pulumi.azurenative.elastic.outputs.ElasticCloudDeploymentResponse;
import com.pulumi.azurenative.elastic.outputs.ElasticCloudUserResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ElasticPropertiesResponse {
/**
* @return Details of the elastic cloud deployment.
*
*/
private @Nullable ElasticCloudDeploymentResponse elasticCloudDeployment;
/**
* @return Details of the user's elastic account.
*
*/
private @Nullable ElasticCloudUserResponse elasticCloudUser;
private ElasticPropertiesResponse() {}
/**
* @return Details of the elastic cloud deployment.
*
*/
public Optional elasticCloudDeployment() {
return Optional.ofNullable(this.elasticCloudDeployment);
}
/**
* @return Details of the user's elastic account.
*
*/
public Optional elasticCloudUser() {
return Optional.ofNullable(this.elasticCloudUser);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ElasticPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ElasticCloudDeploymentResponse elasticCloudDeployment;
private @Nullable ElasticCloudUserResponse elasticCloudUser;
public Builder() {}
public Builder(ElasticPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.elasticCloudDeployment = defaults.elasticCloudDeployment;
this.elasticCloudUser = defaults.elasticCloudUser;
}
@CustomType.Setter
public Builder elasticCloudDeployment(@Nullable ElasticCloudDeploymentResponse elasticCloudDeployment) {
this.elasticCloudDeployment = elasticCloudDeployment;
return this;
}
@CustomType.Setter
public Builder elasticCloudUser(@Nullable ElasticCloudUserResponse elasticCloudUser) {
this.elasticCloudUser = elasticCloudUser;
return this;
}
public ElasticPropertiesResponse build() {
final var _resultValue = new ElasticPropertiesResponse();
_resultValue.elasticCloudDeployment = elasticCloudDeployment;
_resultValue.elasticCloudUser = elasticCloudUser;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy