com.pulumi.meraki.networks.outputs.GetPiiSmOwnersForKeyResult 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.networks.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.meraki.networks.outputs.GetPiiSmOwnersForKeyItem;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetPiiSmOwnersForKeyResult {
/**
* @return bluetoothMac query parameter. The MAC of a Bluetooth client
*
*/
private @Nullable String bluetoothMac;
/**
* @return email query parameter. The email of a network user account or a Systems Manager device
*
*/
private @Nullable String email;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return imei query parameter. The IMEI of a Systems Manager device
*
*/
private @Nullable String imei;
private GetPiiSmOwnersForKeyItem item;
/**
* @return mac query parameter. The MAC of a network client device or a Systems Manager device
*
*/
private @Nullable String mac;
/**
* @return networkId path parameter. Network ID
*
*/
private String networkId;
/**
* @return serial query parameter. The serial of a Systems Manager device
*
*/
private @Nullable String serial;
/**
* @return username query parameter. The username of a Systems Manager user
*
*/
private @Nullable String username;
private GetPiiSmOwnersForKeyResult() {}
/**
* @return bluetoothMac query parameter. The MAC of a Bluetooth client
*
*/
public Optional bluetoothMac() {
return Optional.ofNullable(this.bluetoothMac);
}
/**
* @return email query parameter. The email of a network user account or a Systems Manager device
*
*/
public Optional email() {
return Optional.ofNullable(this.email);
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return imei query parameter. The IMEI of a Systems Manager device
*
*/
public Optional imei() {
return Optional.ofNullable(this.imei);
}
public GetPiiSmOwnersForKeyItem item() {
return this.item;
}
/**
* @return mac query parameter. The MAC of a network client device or a Systems Manager device
*
*/
public Optional mac() {
return Optional.ofNullable(this.mac);
}
/**
* @return networkId path parameter. Network ID
*
*/
public String networkId() {
return this.networkId;
}
/**
* @return serial query parameter. The serial of a Systems Manager device
*
*/
public Optional serial() {
return Optional.ofNullable(this.serial);
}
/**
* @return username query parameter. The username of a Systems Manager user
*
*/
public Optional username() {
return Optional.ofNullable(this.username);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPiiSmOwnersForKeyResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String bluetoothMac;
private @Nullable String email;
private String id;
private @Nullable String imei;
private GetPiiSmOwnersForKeyItem item;
private @Nullable String mac;
private String networkId;
private @Nullable String serial;
private @Nullable String username;
public Builder() {}
public Builder(GetPiiSmOwnersForKeyResult defaults) {
Objects.requireNonNull(defaults);
this.bluetoothMac = defaults.bluetoothMac;
this.email = defaults.email;
this.id = defaults.id;
this.imei = defaults.imei;
this.item = defaults.item;
this.mac = defaults.mac;
this.networkId = defaults.networkId;
this.serial = defaults.serial;
this.username = defaults.username;
}
@CustomType.Setter
public Builder bluetoothMac(@Nullable String bluetoothMac) {
this.bluetoothMac = bluetoothMac;
return this;
}
@CustomType.Setter
public Builder email(@Nullable String email) {
this.email = email;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetPiiSmOwnersForKeyResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder imei(@Nullable String imei) {
this.imei = imei;
return this;
}
@CustomType.Setter
public Builder item(GetPiiSmOwnersForKeyItem item) {
if (item == null) {
throw new MissingRequiredPropertyException("GetPiiSmOwnersForKeyResult", "item");
}
this.item = item;
return this;
}
@CustomType.Setter
public Builder mac(@Nullable String mac) {
this.mac = mac;
return this;
}
@CustomType.Setter
public Builder networkId(String networkId) {
if (networkId == null) {
throw new MissingRequiredPropertyException("GetPiiSmOwnersForKeyResult", "networkId");
}
this.networkId = networkId;
return this;
}
@CustomType.Setter
public Builder serial(@Nullable String serial) {
this.serial = serial;
return this;
}
@CustomType.Setter
public Builder username(@Nullable String username) {
this.username = username;
return this;
}
public GetPiiSmOwnersForKeyResult build() {
final var _resultValue = new GetPiiSmOwnersForKeyResult();
_resultValue.bluetoothMac = bluetoothMac;
_resultValue.email = email;
_resultValue.id = id;
_resultValue.imei = imei;
_resultValue.item = item;
_resultValue.mac = mac;
_resultValue.networkId = networkId;
_resultValue.serial = serial;
_resultValue.username = username;
return _resultValue;
}
}
}