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