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