com.pulumi.azurenative.redhatopenshift.outputs.ClusterProfileResponse 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.redhatopenshift.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterProfileResponse {
/**
* @return The domain for the cluster.
*
*/
private @Nullable String domain;
/**
* @return If FIPS validated crypto modules are used
*
*/
private @Nullable String fipsValidatedModules;
/**
* @return The pull secret for the cluster.
*
*/
private @Nullable String pullSecret;
/**
* @return The ID of the cluster resource group.
*
*/
private @Nullable String resourceGroupId;
/**
* @return The version of the cluster.
*
*/
private @Nullable String version;
private ClusterProfileResponse() {}
/**
* @return The domain for the cluster.
*
*/
public Optional domain() {
return Optional.ofNullable(this.domain);
}
/**
* @return If FIPS validated crypto modules are used
*
*/
public Optional fipsValidatedModules() {
return Optional.ofNullable(this.fipsValidatedModules);
}
/**
* @return The pull secret for the cluster.
*
*/
public Optional pullSecret() {
return Optional.ofNullable(this.pullSecret);
}
/**
* @return The ID of the cluster resource group.
*
*/
public Optional resourceGroupId() {
return Optional.ofNullable(this.resourceGroupId);
}
/**
* @return The version of the cluster.
*
*/
public Optional version() {
return Optional.ofNullable(this.version);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterProfileResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String domain;
private @Nullable String fipsValidatedModules;
private @Nullable String pullSecret;
private @Nullable String resourceGroupId;
private @Nullable String version;
public Builder() {}
public Builder(ClusterProfileResponse defaults) {
Objects.requireNonNull(defaults);
this.domain = defaults.domain;
this.fipsValidatedModules = defaults.fipsValidatedModules;
this.pullSecret = defaults.pullSecret;
this.resourceGroupId = defaults.resourceGroupId;
this.version = defaults.version;
}
@CustomType.Setter
public Builder domain(@Nullable String domain) {
this.domain = domain;
return this;
}
@CustomType.Setter
public Builder fipsValidatedModules(@Nullable String fipsValidatedModules) {
this.fipsValidatedModules = fipsValidatedModules;
return this;
}
@CustomType.Setter
public Builder pullSecret(@Nullable String pullSecret) {
this.pullSecret = pullSecret;
return this;
}
@CustomType.Setter
public Builder resourceGroupId(@Nullable String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
@CustomType.Setter
public Builder version(@Nullable String version) {
this.version = version;
return this;
}
public ClusterProfileResponse build() {
final var _resultValue = new ClusterProfileResponse();
_resultValue.domain = domain;
_resultValue.fipsValidatedModules = fipsValidatedModules;
_resultValue.pullSecret = pullSecret;
_resultValue.resourceGroupId = resourceGroupId;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy