com.pulumi.azurenative.chaos.inputs.GetTargetArgs 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.chaos.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetTargetArgs extends com.pulumi.resources.InvokeArgs {
public static final GetTargetArgs Empty = new GetTargetArgs();
/**
* String that represents a resource provider namespace.
*
*/
@Import(name="parentProviderNamespace", required=true)
private Output parentProviderNamespace;
/**
* @return String that represents a resource provider namespace.
*
*/
public Output parentProviderNamespace() {
return this.parentProviderNamespace;
}
/**
* String that represents a resource name.
*
*/
@Import(name="parentResourceName", required=true)
private Output parentResourceName;
/**
* @return String that represents a resource name.
*
*/
public Output parentResourceName() {
return this.parentResourceName;
}
/**
* String that represents a resource type.
*
*/
@Import(name="parentResourceType", required=true)
private Output parentResourceType;
/**
* @return String that represents a resource type.
*
*/
public Output parentResourceType() {
return this.parentResourceType;
}
/**
* String that represents an Azure resource group.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return String that represents an Azure resource group.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* String that represents a Target resource name.
*
*/
@Import(name="targetName", required=true)
private Output targetName;
/**
* @return String that represents a Target resource name.
*
*/
public Output targetName() {
return this.targetName;
}
private GetTargetArgs() {}
private GetTargetArgs(GetTargetArgs $) {
this.parentProviderNamespace = $.parentProviderNamespace;
this.parentResourceName = $.parentResourceName;
this.parentResourceType = $.parentResourceType;
this.resourceGroupName = $.resourceGroupName;
this.targetName = $.targetName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetTargetArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetTargetArgs $;
public Builder() {
$ = new GetTargetArgs();
}
public Builder(GetTargetArgs defaults) {
$ = new GetTargetArgs(Objects.requireNonNull(defaults));
}
/**
* @param parentProviderNamespace String that represents a resource provider namespace.
*
* @return builder
*
*/
public Builder parentProviderNamespace(Output parentProviderNamespace) {
$.parentProviderNamespace = parentProviderNamespace;
return this;
}
/**
* @param parentProviderNamespace String that represents a resource provider namespace.
*
* @return builder
*
*/
public Builder parentProviderNamespace(String parentProviderNamespace) {
return parentProviderNamespace(Output.of(parentProviderNamespace));
}
/**
* @param parentResourceName String that represents a resource name.
*
* @return builder
*
*/
public Builder parentResourceName(Output parentResourceName) {
$.parentResourceName = parentResourceName;
return this;
}
/**
* @param parentResourceName String that represents a resource name.
*
* @return builder
*
*/
public Builder parentResourceName(String parentResourceName) {
return parentResourceName(Output.of(parentResourceName));
}
/**
* @param parentResourceType String that represents a resource type.
*
* @return builder
*
*/
public Builder parentResourceType(Output parentResourceType) {
$.parentResourceType = parentResourceType;
return this;
}
/**
* @param parentResourceType String that represents a resource type.
*
* @return builder
*
*/
public Builder parentResourceType(String parentResourceType) {
return parentResourceType(Output.of(parentResourceType));
}
/**
* @param resourceGroupName String that represents an Azure resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName String that represents an Azure resource group.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param targetName String that represents a Target resource name.
*
* @return builder
*
*/
public Builder targetName(Output targetName) {
$.targetName = targetName;
return this;
}
/**
* @param targetName String that represents a Target resource name.
*
* @return builder
*
*/
public Builder targetName(String targetName) {
return targetName(Output.of(targetName));
}
public GetTargetArgs build() {
if ($.parentProviderNamespace == null) {
throw new MissingRequiredPropertyException("GetTargetArgs", "parentProviderNamespace");
}
if ($.parentResourceName == null) {
throw new MissingRequiredPropertyException("GetTargetArgs", "parentResourceName");
}
if ($.parentResourceType == null) {
throw new MissingRequiredPropertyException("GetTargetArgs", "parentResourceType");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetTargetArgs", "resourceGroupName");
}
if ($.targetName == null) {
throw new MissingRequiredPropertyException("GetTargetArgs", "targetName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy