
com.pulumi.azurenative.containerservice.outputs.OpenShiftManagedClusterAADIdentityProviderResponse 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.containerservice.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class OpenShiftManagedClusterAADIdentityProviderResponse {
/**
* @return The clientId password associated with the provider.
*
*/
private @Nullable String clientId;
/**
* @return The groupId to be granted cluster admin role.
*
*/
private @Nullable String customerAdminGroupId;
/**
* @return The kind of the provider.
* Expected value is 'AADIdentityProvider'.
*
*/
private String kind;
/**
* @return The secret password associated with the provider.
*
*/
private @Nullable String secret;
/**
* @return The tenantId associated with the provider.
*
*/
private @Nullable String tenantId;
private OpenShiftManagedClusterAADIdentityProviderResponse() {}
/**
* @return The clientId password associated with the provider.
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return The groupId to be granted cluster admin role.
*
*/
public Optional customerAdminGroupId() {
return Optional.ofNullable(this.customerAdminGroupId);
}
/**
* @return The kind of the provider.
* Expected value is 'AADIdentityProvider'.
*
*/
public String kind() {
return this.kind;
}
/**
* @return The secret password associated with the provider.
*
*/
public Optional secret() {
return Optional.ofNullable(this.secret);
}
/**
* @return The tenantId associated with the provider.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OpenShiftManagedClusterAADIdentityProviderResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientId;
private @Nullable String customerAdminGroupId;
private String kind;
private @Nullable String secret;
private @Nullable String tenantId;
public Builder() {}
public Builder(OpenShiftManagedClusterAADIdentityProviderResponse defaults) {
Objects.requireNonNull(defaults);
this.clientId = defaults.clientId;
this.customerAdminGroupId = defaults.customerAdminGroupId;
this.kind = defaults.kind;
this.secret = defaults.secret;
this.tenantId = defaults.tenantId;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder customerAdminGroupId(@Nullable String customerAdminGroupId) {
this.customerAdminGroupId = customerAdminGroupId;
return this;
}
@CustomType.Setter
public Builder kind(String kind) {
if (kind == null) {
throw new MissingRequiredPropertyException("OpenShiftManagedClusterAADIdentityProviderResponse", "kind");
}
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder secret(@Nullable String secret) {
this.secret = secret;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
public OpenShiftManagedClusterAADIdentityProviderResponse build() {
final var _resultValue = new OpenShiftManagedClusterAADIdentityProviderResponse();
_resultValue.clientId = clientId;
_resultValue.customerAdminGroupId = customerAdminGroupId;
_resultValue.kind = kind;
_resultValue.secret = secret;
_resultValue.tenantId = tenantId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy