com.pulumi.azurenative.migrate.inputs.GetGroupArgs 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.migrate.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 GetGroupArgs extends com.pulumi.resources.InvokeArgs {
public static final GetGroupArgs Empty = new GetGroupArgs();
/**
* Unique name of a group within a project.
*
*/
@Import(name="groupName", required=true)
private Output groupName;
/**
* @return Unique name of a group within a project.
*
*/
public Output groupName() {
return this.groupName;
}
/**
* Name of the Azure Migrate project.
*
*/
@Import(name="projectName", required=true)
private Output projectName;
/**
* @return Name of the Azure Migrate project.
*
*/
public Output projectName() {
return this.projectName;
}
/**
* Name of the Azure Resource Group that project is part of.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return Name of the Azure Resource Group that project is part of.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
private GetGroupArgs() {}
private GetGroupArgs(GetGroupArgs $) {
this.groupName = $.groupName;
this.projectName = $.projectName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetGroupArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetGroupArgs $;
public Builder() {
$ = new GetGroupArgs();
}
public Builder(GetGroupArgs defaults) {
$ = new GetGroupArgs(Objects.requireNonNull(defaults));
}
/**
* @param groupName Unique name of a group within a project.
*
* @return builder
*
*/
public Builder groupName(Output groupName) {
$.groupName = groupName;
return this;
}
/**
* @param groupName Unique name of a group within a project.
*
* @return builder
*
*/
public Builder groupName(String groupName) {
return groupName(Output.of(groupName));
}
/**
* @param projectName Name of the Azure Migrate project.
*
* @return builder
*
*/
public Builder projectName(Output projectName) {
$.projectName = projectName;
return this;
}
/**
* @param projectName Name of the Azure Migrate project.
*
* @return builder
*
*/
public Builder projectName(String projectName) {
return projectName(Output.of(projectName));
}
/**
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName Name of the Azure Resource Group that project is part of.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
public GetGroupArgs build() {
if ($.groupName == null) {
throw new MissingRequiredPropertyException("GetGroupArgs", "groupName");
}
if ($.projectName == null) {
throw new MissingRequiredPropertyException("GetGroupArgs", "projectName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetGroupArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy