com.ovhcloud.pulumi.ovh.CloudProjectDatabase.outputs.GetKafkaSchemaRegistryAclsResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH 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.ovhcloud.pulumi.ovh.CloudProjectDatabase.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetKafkaSchemaRegistryAclsResult {
/**
* @return The list of schema refistry ACLs ids of the kafka cluster associated with the project.
*
*/
private List aclIds;
/**
* @return See Argument Reference above.
*
*/
private String clusterId;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return See Argument Reference above.
*
*/
private String serviceName;
private GetKafkaSchemaRegistryAclsResult() {}
/**
* @return The list of schema refistry ACLs ids of the kafka cluster associated with the project.
*
*/
public List aclIds() {
return this.aclIds;
}
/**
* @return See Argument Reference above.
*
*/
public String clusterId() {
return this.clusterId;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return See Argument Reference above.
*
*/
public String serviceName() {
return this.serviceName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetKafkaSchemaRegistryAclsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List aclIds;
private String clusterId;
private String id;
private String serviceName;
public Builder() {}
public Builder(GetKafkaSchemaRegistryAclsResult defaults) {
Objects.requireNonNull(defaults);
this.aclIds = defaults.aclIds;
this.clusterId = defaults.clusterId;
this.id = defaults.id;
this.serviceName = defaults.serviceName;
}
@CustomType.Setter
public Builder aclIds(List aclIds) {
if (aclIds == null) {
throw new MissingRequiredPropertyException("GetKafkaSchemaRegistryAclsResult", "aclIds");
}
this.aclIds = aclIds;
return this;
}
public Builder aclIds(String... aclIds) {
return aclIds(List.of(aclIds));
}
@CustomType.Setter
public Builder clusterId(String clusterId) {
if (clusterId == null) {
throw new MissingRequiredPropertyException("GetKafkaSchemaRegistryAclsResult", "clusterId");
}
this.clusterId = clusterId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetKafkaSchemaRegistryAclsResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("GetKafkaSchemaRegistryAclsResult", "serviceName");
}
this.serviceName = serviceName;
return this;
}
public GetKafkaSchemaRegistryAclsResult build() {
final var _resultValue = new GetKafkaSchemaRegistryAclsResult();
_resultValue.aclIds = aclIds;
_resultValue.clusterId = clusterId;
_resultValue.id = id;
_resultValue.serviceName = serviceName;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy