com.pulumi.azurenative.workloads.outputs.ThreeTierFullResourceNamesResponse 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.workloads.outputs;
import com.pulumi.azurenative.workloads.outputs.ApplicationServerFullResourceNamesResponse;
import com.pulumi.azurenative.workloads.outputs.CentralServerFullResourceNamesResponse;
import com.pulumi.azurenative.workloads.outputs.DatabaseServerFullResourceNamesResponse;
import com.pulumi.azurenative.workloads.outputs.SharedStorageResourceNamesResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ThreeTierFullResourceNamesResponse {
/**
* @return The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
*
*/
private @Nullable ApplicationServerFullResourceNamesResponse applicationServer;
/**
* @return The full resource names object for central server layer resources.
*
*/
private @Nullable CentralServerFullResourceNamesResponse centralServer;
/**
* @return The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
*
*/
private @Nullable DatabaseServerFullResourceNamesResponse databaseServer;
/**
* @return The pattern type to be used for resource naming.
* Expected value is 'FullResourceName'.
*
*/
private String namingPatternType;
/**
* @return The resource names object for shared storage.
*
*/
private @Nullable SharedStorageResourceNamesResponse sharedStorage;
private ThreeTierFullResourceNamesResponse() {}
/**
* @return The full resource names object for application layer resources. The number of entries in this list should be equal to the number VMs to be created for application layer.
*
*/
public Optional applicationServer() {
return Optional.ofNullable(this.applicationServer);
}
/**
* @return The full resource names object for central server layer resources.
*
*/
public Optional centralServer() {
return Optional.ofNullable(this.centralServer);
}
/**
* @return The full resource names object for database layer resources. The number of entries in this list should be equal to the number VMs to be created for database layer.
*
*/
public Optional databaseServer() {
return Optional.ofNullable(this.databaseServer);
}
/**
* @return The pattern type to be used for resource naming.
* Expected value is 'FullResourceName'.
*
*/
public String namingPatternType() {
return this.namingPatternType;
}
/**
* @return The resource names object for shared storage.
*
*/
public Optional sharedStorage() {
return Optional.ofNullable(this.sharedStorage);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ThreeTierFullResourceNamesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable ApplicationServerFullResourceNamesResponse applicationServer;
private @Nullable CentralServerFullResourceNamesResponse centralServer;
private @Nullable DatabaseServerFullResourceNamesResponse databaseServer;
private String namingPatternType;
private @Nullable SharedStorageResourceNamesResponse sharedStorage;
public Builder() {}
public Builder(ThreeTierFullResourceNamesResponse defaults) {
Objects.requireNonNull(defaults);
this.applicationServer = defaults.applicationServer;
this.centralServer = defaults.centralServer;
this.databaseServer = defaults.databaseServer;
this.namingPatternType = defaults.namingPatternType;
this.sharedStorage = defaults.sharedStorage;
}
@CustomType.Setter
public Builder applicationServer(@Nullable ApplicationServerFullResourceNamesResponse applicationServer) {
this.applicationServer = applicationServer;
return this;
}
@CustomType.Setter
public Builder centralServer(@Nullable CentralServerFullResourceNamesResponse centralServer) {
this.centralServer = centralServer;
return this;
}
@CustomType.Setter
public Builder databaseServer(@Nullable DatabaseServerFullResourceNamesResponse databaseServer) {
this.databaseServer = databaseServer;
return this;
}
@CustomType.Setter
public Builder namingPatternType(String namingPatternType) {
if (namingPatternType == null) {
throw new MissingRequiredPropertyException("ThreeTierFullResourceNamesResponse", "namingPatternType");
}
this.namingPatternType = namingPatternType;
return this;
}
@CustomType.Setter
public Builder sharedStorage(@Nullable SharedStorageResourceNamesResponse sharedStorage) {
this.sharedStorage = sharedStorage;
return this;
}
public ThreeTierFullResourceNamesResponse build() {
final var _resultValue = new ThreeTierFullResourceNamesResponse();
_resultValue.applicationServer = applicationServer;
_resultValue.centralServer = centralServer;
_resultValue.databaseServer = databaseServer;
_resultValue.namingPatternType = namingPatternType;
_resultValue.sharedStorage = sharedStorage;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy