
com.pulumi.azurenative.kubernetesconfiguration.inputs.GetSourceControlConfigurationPlainArgs 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.kubernetesconfiguration.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetSourceControlConfigurationPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetSourceControlConfigurationPlainArgs Empty = new GetSourceControlConfigurationPlainArgs();
/**
* The name of the kubernetes cluster.
*
*/
@Import(name="clusterName", required=true)
private String clusterName;
/**
* @return The name of the kubernetes cluster.
*
*/
public String clusterName() {
return this.clusterName;
}
/**
* The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
*
*/
@Import(name="clusterResourceName", required=true)
private String clusterResourceName;
/**
* @return The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
*
*/
public String clusterResourceName() {
return this.clusterResourceName;
}
/**
* The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
*
*/
@Import(name="clusterRp", required=true)
private String clusterRp;
/**
* @return The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
*
*/
public String clusterRp() {
return this.clusterRp;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
/**
* Name of the Source Control Configuration.
*
*/
@Import(name="sourceControlConfigurationName", required=true)
private String sourceControlConfigurationName;
/**
* @return Name of the Source Control Configuration.
*
*/
public String sourceControlConfigurationName() {
return this.sourceControlConfigurationName;
}
private GetSourceControlConfigurationPlainArgs() {}
private GetSourceControlConfigurationPlainArgs(GetSourceControlConfigurationPlainArgs $) {
this.clusterName = $.clusterName;
this.clusterResourceName = $.clusterResourceName;
this.clusterRp = $.clusterRp;
this.resourceGroupName = $.resourceGroupName;
this.sourceControlConfigurationName = $.sourceControlConfigurationName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetSourceControlConfigurationPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetSourceControlConfigurationPlainArgs $;
public Builder() {
$ = new GetSourceControlConfigurationPlainArgs();
}
public Builder(GetSourceControlConfigurationPlainArgs defaults) {
$ = new GetSourceControlConfigurationPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param clusterName The name of the kubernetes cluster.
*
* @return builder
*
*/
public Builder clusterName(String clusterName) {
$.clusterName = clusterName;
return this;
}
/**
* @param clusterResourceName The Kubernetes cluster resource name - i.e. managedClusters, connectedClusters, provisionedClusters.
*
* @return builder
*
*/
public Builder clusterResourceName(String clusterResourceName) {
$.clusterResourceName = clusterResourceName;
return this;
}
/**
* @param clusterRp The Kubernetes cluster RP - i.e. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.
*
* @return builder
*
*/
public Builder clusterRp(String clusterRp) {
$.clusterRp = clusterRp;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param sourceControlConfigurationName Name of the Source Control Configuration.
*
* @return builder
*
*/
public Builder sourceControlConfigurationName(String sourceControlConfigurationName) {
$.sourceControlConfigurationName = sourceControlConfigurationName;
return this;
}
public GetSourceControlConfigurationPlainArgs build() {
if ($.clusterName == null) {
throw new MissingRequiredPropertyException("GetSourceControlConfigurationPlainArgs", "clusterName");
}
if ($.clusterResourceName == null) {
throw new MissingRequiredPropertyException("GetSourceControlConfigurationPlainArgs", "clusterResourceName");
}
if ($.clusterRp == null) {
throw new MissingRequiredPropertyException("GetSourceControlConfigurationPlainArgs", "clusterRp");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetSourceControlConfigurationPlainArgs", "resourceGroupName");
}
if ($.sourceControlConfigurationName == null) {
throw new MissingRequiredPropertyException("GetSourceControlConfigurationPlainArgs", "sourceControlConfigurationName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy