com.pulumi.meraki.organizations.outputs.NetworksCombineItemResultingNetwork Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of meraki Show documentation
Show all versions of meraki Show documentation
A Pulumi package for creating and managing Cisco Meraki 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.meraki.organizations.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class NetworksCombineItemResultingNetwork {
/**
* @return Enrollment string for the network
*
*/
private @Nullable String enrollmentString;
/**
* @return Network ID
*
*/
private @Nullable String id;
/**
* @return If the network is bound to a config template
*
*/
private @Nullable Boolean isBoundToConfigTemplate;
/**
* @return Network name
*
*/
private @Nullable String name;
/**
* @return Notes for the network
*
*/
private @Nullable String notes;
/**
* @return Organization ID
*
*/
private @Nullable String organizationId;
/**
* @return List of the product types that the network supports
*
*/
private @Nullable List productTypes;
/**
* @return Network tags
*
*/
private @Nullable List tags;
/**
* @return Timezone of the network
*
*/
private @Nullable String timeZone;
/**
* @return URL to the network Dashboard UI
*
*/
private @Nullable String url;
private NetworksCombineItemResultingNetwork() {}
/**
* @return Enrollment string for the network
*
*/
public Optional enrollmentString() {
return Optional.ofNullable(this.enrollmentString);
}
/**
* @return Network ID
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return If the network is bound to a config template
*
*/
public Optional isBoundToConfigTemplate() {
return Optional.ofNullable(this.isBoundToConfigTemplate);
}
/**
* @return Network name
*
*/
public Optional name() {
return Optional.ofNullable(this.name);
}
/**
* @return Notes for the network
*
*/
public Optional notes() {
return Optional.ofNullable(this.notes);
}
/**
* @return Organization ID
*
*/
public Optional organizationId() {
return Optional.ofNullable(this.organizationId);
}
/**
* @return List of the product types that the network supports
*
*/
public List productTypes() {
return this.productTypes == null ? List.of() : this.productTypes;
}
/**
* @return Network tags
*
*/
public List tags() {
return this.tags == null ? List.of() : this.tags;
}
/**
* @return Timezone of the network
*
*/
public Optional timeZone() {
return Optional.ofNullable(this.timeZone);
}
/**
* @return URL to the network Dashboard UI
*
*/
public Optional url() {
return Optional.ofNullable(this.url);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(NetworksCombineItemResultingNetwork defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String enrollmentString;
private @Nullable String id;
private @Nullable Boolean isBoundToConfigTemplate;
private @Nullable String name;
private @Nullable String notes;
private @Nullable String organizationId;
private @Nullable List productTypes;
private @Nullable List tags;
private @Nullable String timeZone;
private @Nullable String url;
public Builder() {}
public Builder(NetworksCombineItemResultingNetwork defaults) {
Objects.requireNonNull(defaults);
this.enrollmentString = defaults.enrollmentString;
this.id = defaults.id;
this.isBoundToConfigTemplate = defaults.isBoundToConfigTemplate;
this.name = defaults.name;
this.notes = defaults.notes;
this.organizationId = defaults.organizationId;
this.productTypes = defaults.productTypes;
this.tags = defaults.tags;
this.timeZone = defaults.timeZone;
this.url = defaults.url;
}
@CustomType.Setter
public Builder enrollmentString(@Nullable String enrollmentString) {
this.enrollmentString = enrollmentString;
return this;
}
@CustomType.Setter
public Builder id(@Nullable String id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder isBoundToConfigTemplate(@Nullable Boolean isBoundToConfigTemplate) {
this.isBoundToConfigTemplate = isBoundToConfigTemplate;
return this;
}
@CustomType.Setter
public Builder name(@Nullable String name) {
this.name = name;
return this;
}
@CustomType.Setter
public Builder notes(@Nullable String notes) {
this.notes = notes;
return this;
}
@CustomType.Setter
public Builder organizationId(@Nullable String organizationId) {
this.organizationId = organizationId;
return this;
}
@CustomType.Setter
public Builder productTypes(@Nullable List productTypes) {
this.productTypes = productTypes;
return this;
}
public Builder productTypes(String... productTypes) {
return productTypes(List.of(productTypes));
}
@CustomType.Setter
public Builder tags(@Nullable List tags) {
this.tags = tags;
return this;
}
public Builder tags(String... tags) {
return tags(List.of(tags));
}
@CustomType.Setter
public Builder timeZone(@Nullable String timeZone) {
this.timeZone = timeZone;
return this;
}
@CustomType.Setter
public Builder url(@Nullable String url) {
this.url = url;
return this;
}
public NetworksCombineItemResultingNetwork build() {
final var _resultValue = new NetworksCombineItemResultingNetwork();
_resultValue.enrollmentString = enrollmentString;
_resultValue.id = id;
_resultValue.isBoundToConfigTemplate = isBoundToConfigTemplate;
_resultValue.name = name;
_resultValue.notes = notes;
_resultValue.organizationId = organizationId;
_resultValue.productTypes = productTypes;
_resultValue.tags = tags;
_resultValue.timeZone = timeZone;
_resultValue.url = url;
return _resultValue;
}
}
}