
com.pulumi.azurenative.customproviders.inputs.GetAssociationArgs Maven / Gradle / Ivy
// *** 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.customproviders.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 GetAssociationArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAssociationArgs Empty = new GetAssociationArgs();
/**
* The name of the association.
*
*/
@Import(name="associationName", required=true)
private Output associationName;
/**
* @return The name of the association.
*
*/
public Output associationName() {
return this.associationName;
}
/**
* The scope of the association.
*
*/
@Import(name="scope", required=true)
private Output scope;
/**
* @return The scope of the association.
*
*/
public Output scope() {
return this.scope;
}
private GetAssociationArgs() {}
private GetAssociationArgs(GetAssociationArgs $) {
this.associationName = $.associationName;
this.scope = $.scope;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAssociationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAssociationArgs $;
public Builder() {
$ = new GetAssociationArgs();
}
public Builder(GetAssociationArgs defaults) {
$ = new GetAssociationArgs(Objects.requireNonNull(defaults));
}
/**
* @param associationName The name of the association.
*
* @return builder
*
*/
public Builder associationName(Output associationName) {
$.associationName = associationName;
return this;
}
/**
* @param associationName The name of the association.
*
* @return builder
*
*/
public Builder associationName(String associationName) {
return associationName(Output.of(associationName));
}
/**
* @param scope The scope of the association.
*
* @return builder
*
*/
public Builder scope(Output scope) {
$.scope = scope;
return this;
}
/**
* @param scope The scope of the association.
*
* @return builder
*
*/
public Builder scope(String scope) {
return scope(Output.of(scope));
}
public GetAssociationArgs build() {
if ($.associationName == null) {
throw new MissingRequiredPropertyException("GetAssociationArgs", "associationName");
}
if ($.scope == null) {
throw new MissingRequiredPropertyException("GetAssociationArgs", "scope");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy