com.pulumi.azure.servicefabric.inputs.ClusterClientCertificateThumbprintArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.servicefabric.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
public final class ClusterClientCertificateThumbprintArgs extends com.pulumi.resources.ResourceArgs {
public static final ClusterClientCertificateThumbprintArgs Empty = new ClusterClientCertificateThumbprintArgs();
/**
* Does the Client Certificate have Admin Access to the cluster? Non-admin clients can only perform read only operations on the cluster.
*
*/
@Import(name="isAdmin", required=true)
private Output isAdmin;
/**
* @return Does the Client Certificate have Admin Access to the cluster? Non-admin clients can only perform read only operations on the cluster.
*
*/
public Output isAdmin() {
return this.isAdmin;
}
/**
* The Thumbprint associated with the Client Certificate.
*
*/
@Import(name="thumbprint", required=true)
private Output thumbprint;
/**
* @return The Thumbprint associated with the Client Certificate.
*
*/
public Output thumbprint() {
return this.thumbprint;
}
private ClusterClientCertificateThumbprintArgs() {}
private ClusterClientCertificateThumbprintArgs(ClusterClientCertificateThumbprintArgs $) {
this.isAdmin = $.isAdmin;
this.thumbprint = $.thumbprint;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterClientCertificateThumbprintArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ClusterClientCertificateThumbprintArgs $;
public Builder() {
$ = new ClusterClientCertificateThumbprintArgs();
}
public Builder(ClusterClientCertificateThumbprintArgs defaults) {
$ = new ClusterClientCertificateThumbprintArgs(Objects.requireNonNull(defaults));
}
/**
* @param isAdmin Does the Client Certificate have Admin Access to the cluster? Non-admin clients can only perform read only operations on the cluster.
*
* @return builder
*
*/
public Builder isAdmin(Output isAdmin) {
$.isAdmin = isAdmin;
return this;
}
/**
* @param isAdmin Does the Client Certificate have Admin Access to the cluster? Non-admin clients can only perform read only operations on the cluster.
*
* @return builder
*
*/
public Builder isAdmin(Boolean isAdmin) {
return isAdmin(Output.of(isAdmin));
}
/**
* @param thumbprint The Thumbprint associated with the Client Certificate.
*
* @return builder
*
*/
public Builder thumbprint(Output thumbprint) {
$.thumbprint = thumbprint;
return this;
}
/**
* @param thumbprint The Thumbprint associated with the Client Certificate.
*
* @return builder
*
*/
public Builder thumbprint(String thumbprint) {
return thumbprint(Output.of(thumbprint));
}
public ClusterClientCertificateThumbprintArgs build() {
if ($.isAdmin == null) {
throw new MissingRequiredPropertyException("ClusterClientCertificateThumbprintArgs", "isAdmin");
}
if ($.thumbprint == null) {
throw new MissingRequiredPropertyException("ClusterClientCertificateThumbprintArgs", "thumbprint");
}
return $;
}
}
}