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