com.pulumi.azurenative.azurestack.inputs.GetLinkedSubscriptionPlainArgs 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.azurestack.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetLinkedSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetLinkedSubscriptionPlainArgs Empty = new GetLinkedSubscriptionPlainArgs();
/**
* Name of the Linked Subscription resource.
*
*/
@Import(name="linkedSubscriptionName", required=true)
private String linkedSubscriptionName;
/**
* @return Name of the Linked Subscription resource.
*
*/
public String linkedSubscriptionName() {
return this.linkedSubscriptionName;
}
/**
* Name of the resource group.
*
*/
@Import(name="resourceGroup", required=true)
private String resourceGroup;
/**
* @return Name of the resource group.
*
*/
public String resourceGroup() {
return this.resourceGroup;
}
private GetLinkedSubscriptionPlainArgs() {}
private GetLinkedSubscriptionPlainArgs(GetLinkedSubscriptionPlainArgs $) {
this.linkedSubscriptionName = $.linkedSubscriptionName;
this.resourceGroup = $.resourceGroup;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLinkedSubscriptionPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetLinkedSubscriptionPlainArgs $;
public Builder() {
$ = new GetLinkedSubscriptionPlainArgs();
}
public Builder(GetLinkedSubscriptionPlainArgs defaults) {
$ = new GetLinkedSubscriptionPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param linkedSubscriptionName Name of the Linked Subscription resource.
*
* @return builder
*
*/
public Builder linkedSubscriptionName(String linkedSubscriptionName) {
$.linkedSubscriptionName = linkedSubscriptionName;
return this;
}
/**
* @param resourceGroup Name of the resource group.
*
* @return builder
*
*/
public Builder resourceGroup(String resourceGroup) {
$.resourceGroup = resourceGroup;
return this;
}
public GetLinkedSubscriptionPlainArgs build() {
if ($.linkedSubscriptionName == null) {
throw new MissingRequiredPropertyException("GetLinkedSubscriptionPlainArgs", "linkedSubscriptionName");
}
if ($.resourceGroup == null) {
throw new MissingRequiredPropertyException("GetLinkedSubscriptionPlainArgs", "resourceGroup");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy