com.pulumi.alicloud.threatdetection.outputs.GetHoneypotNodesResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.threatdetection.outputs;
import com.pulumi.alicloud.threatdetection.outputs.GetHoneypotNodesNode;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetHoneypotNodesResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return A list of Honeypot Node IDs.
*
*/
private List ids;
private @Nullable String nameRegex;
/**
* @return A list of Honeypot Node names.
*
*/
private List names;
/**
* @return Honeypot management node id.
*
*/
private @Nullable String nodeId;
/**
* @return Management node name.
*
*/
private @Nullable String nodeName;
/**
* @return A list of Honeypot Node Entries. Each element contains the following attributes:
*
*/
private List nodes;
private @Nullable String outputFile;
private @Nullable Integer pageNumber;
private @Nullable Integer pageSize;
private GetHoneypotNodesResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return A list of Honeypot Node IDs.
*
*/
public List ids() {
return this.ids;
}
public Optional nameRegex() {
return Optional.ofNullable(this.nameRegex);
}
/**
* @return A list of Honeypot Node names.
*
*/
public List names() {
return this.names;
}
/**
* @return Honeypot management node id.
*
*/
public Optional nodeId() {
return Optional.ofNullable(this.nodeId);
}
/**
* @return Management node name.
*
*/
public Optional nodeName() {
return Optional.ofNullable(this.nodeName);
}
/**
* @return A list of Honeypot Node Entries. Each element contains the following attributes:
*
*/
public List nodes() {
return this.nodes;
}
public Optional outputFile() {
return Optional.ofNullable(this.outputFile);
}
public Optional pageNumber() {
return Optional.ofNullable(this.pageNumber);
}
public Optional pageSize() {
return Optional.ofNullable(this.pageSize);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetHoneypotNodesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private List ids;
private @Nullable String nameRegex;
private List names;
private @Nullable String nodeId;
private @Nullable String nodeName;
private List nodes;
private @Nullable String outputFile;
private @Nullable Integer pageNumber;
private @Nullable Integer pageSize;
public Builder() {}
public Builder(GetHoneypotNodesResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.ids = defaults.ids;
this.nameRegex = defaults.nameRegex;
this.names = defaults.names;
this.nodeId = defaults.nodeId;
this.nodeName = defaults.nodeName;
this.nodes = defaults.nodes;
this.outputFile = defaults.outputFile;
this.pageNumber = defaults.pageNumber;
this.pageSize = defaults.pageSize;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetHoneypotNodesResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder ids(List ids) {
if (ids == null) {
throw new MissingRequiredPropertyException("GetHoneypotNodesResult", "ids");
}
this.ids = ids;
return this;
}
public Builder ids(String... ids) {
return ids(List.of(ids));
}
@CustomType.Setter
public Builder nameRegex(@Nullable String nameRegex) {
this.nameRegex = nameRegex;
return this;
}
@CustomType.Setter
public Builder names(List names) {
if (names == null) {
throw new MissingRequiredPropertyException("GetHoneypotNodesResult", "names");
}
this.names = names;
return this;
}
public Builder names(String... names) {
return names(List.of(names));
}
@CustomType.Setter
public Builder nodeId(@Nullable String nodeId) {
this.nodeId = nodeId;
return this;
}
@CustomType.Setter
public Builder nodeName(@Nullable String nodeName) {
this.nodeName = nodeName;
return this;
}
@CustomType.Setter
public Builder nodes(List nodes) {
if (nodes == null) {
throw new MissingRequiredPropertyException("GetHoneypotNodesResult", "nodes");
}
this.nodes = nodes;
return this;
}
public Builder nodes(GetHoneypotNodesNode... nodes) {
return nodes(List.of(nodes));
}
@CustomType.Setter
public Builder outputFile(@Nullable String outputFile) {
this.outputFile = outputFile;
return this;
}
@CustomType.Setter
public Builder pageNumber(@Nullable Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
@CustomType.Setter
public Builder pageSize(@Nullable Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public GetHoneypotNodesResult build() {
final var _resultValue = new GetHoneypotNodesResult();
_resultValue.id = id;
_resultValue.ids = ids;
_resultValue.nameRegex = nameRegex;
_resultValue.names = names;
_resultValue.nodeId = nodeId;
_resultValue.nodeName = nodeName;
_resultValue.nodes = nodes;
_resultValue.outputFile = outputFile;
_resultValue.pageNumber = pageNumber;
_resultValue.pageSize = pageSize;
return _resultValue;
}
}
}