com.pulumi.azurenative.datareplication.inputs.DraModelPropertiesArgs 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.datareplication.inputs;
import com.pulumi.azurenative.datareplication.inputs.IdentityModelArgs;
import com.pulumi.azurenative.datareplication.inputs.VMwareDraModelCustomPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Dra model properties.
*
*/
public final class DraModelPropertiesArgs extends com.pulumi.resources.ResourceArgs {
public static final DraModelPropertiesArgs Empty = new DraModelPropertiesArgs();
/**
* Identity model.
*
*/
@Import(name="authenticationIdentity", required=true)
private Output authenticationIdentity;
/**
* @return Identity model.
*
*/
public Output authenticationIdentity() {
return this.authenticationIdentity;
}
/**
* Dra model custom properties.
*
*/
@Import(name="customProperties", required=true)
private Output customProperties;
/**
* @return Dra model custom properties.
*
*/
public Output customProperties() {
return this.customProperties;
}
/**
* Gets or sets the machine Id where Dra is running.
*
*/
@Import(name="machineId", required=true)
private Output machineId;
/**
* @return Gets or sets the machine Id where Dra is running.
*
*/
public Output machineId() {
return this.machineId;
}
/**
* Gets or sets the machine name where Dra is running.
*
*/
@Import(name="machineName", required=true)
private Output machineName;
/**
* @return Gets or sets the machine name where Dra is running.
*
*/
public Output machineName() {
return this.machineName;
}
/**
* Identity model.
*
*/
@Import(name="resourceAccessIdentity", required=true)
private Output resourceAccessIdentity;
/**
* @return Identity model.
*
*/
public Output resourceAccessIdentity() {
return this.resourceAccessIdentity;
}
private DraModelPropertiesArgs() {}
private DraModelPropertiesArgs(DraModelPropertiesArgs $) {
this.authenticationIdentity = $.authenticationIdentity;
this.customProperties = $.customProperties;
this.machineId = $.machineId;
this.machineName = $.machineName;
this.resourceAccessIdentity = $.resourceAccessIdentity;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DraModelPropertiesArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DraModelPropertiesArgs $;
public Builder() {
$ = new DraModelPropertiesArgs();
}
public Builder(DraModelPropertiesArgs defaults) {
$ = new DraModelPropertiesArgs(Objects.requireNonNull(defaults));
}
/**
* @param authenticationIdentity Identity model.
*
* @return builder
*
*/
public Builder authenticationIdentity(Output authenticationIdentity) {
$.authenticationIdentity = authenticationIdentity;
return this;
}
/**
* @param authenticationIdentity Identity model.
*
* @return builder
*
*/
public Builder authenticationIdentity(IdentityModelArgs authenticationIdentity) {
return authenticationIdentity(Output.of(authenticationIdentity));
}
/**
* @param customProperties Dra model custom properties.
*
* @return builder
*
*/
public Builder customProperties(Output customProperties) {
$.customProperties = customProperties;
return this;
}
/**
* @param customProperties Dra model custom properties.
*
* @return builder
*
*/
public Builder customProperties(VMwareDraModelCustomPropertiesArgs customProperties) {
return customProperties(Output.of(customProperties));
}
/**
* @param machineId Gets or sets the machine Id where Dra is running.
*
* @return builder
*
*/
public Builder machineId(Output machineId) {
$.machineId = machineId;
return this;
}
/**
* @param machineId Gets or sets the machine Id where Dra is running.
*
* @return builder
*
*/
public Builder machineId(String machineId) {
return machineId(Output.of(machineId));
}
/**
* @param machineName Gets or sets the machine name where Dra is running.
*
* @return builder
*
*/
public Builder machineName(Output machineName) {
$.machineName = machineName;
return this;
}
/**
* @param machineName Gets or sets the machine name where Dra is running.
*
* @return builder
*
*/
public Builder machineName(String machineName) {
return machineName(Output.of(machineName));
}
/**
* @param resourceAccessIdentity Identity model.
*
* @return builder
*
*/
public Builder resourceAccessIdentity(Output resourceAccessIdentity) {
$.resourceAccessIdentity = resourceAccessIdentity;
return this;
}
/**
* @param resourceAccessIdentity Identity model.
*
* @return builder
*
*/
public Builder resourceAccessIdentity(IdentityModelArgs resourceAccessIdentity) {
return resourceAccessIdentity(Output.of(resourceAccessIdentity));
}
public DraModelPropertiesArgs build() {
if ($.authenticationIdentity == null) {
throw new MissingRequiredPropertyException("DraModelPropertiesArgs", "authenticationIdentity");
}
if ($.customProperties == null) {
throw new MissingRequiredPropertyException("DraModelPropertiesArgs", "customProperties");
}
if ($.machineId == null) {
throw new MissingRequiredPropertyException("DraModelPropertiesArgs", "machineId");
}
if ($.machineName == null) {
throw new MissingRequiredPropertyException("DraModelPropertiesArgs", "machineName");
}
if ($.resourceAccessIdentity == null) {
throw new MissingRequiredPropertyException("DraModelPropertiesArgs", "resourceAccessIdentity");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy