com.pulumi.meraki.organizations.outputs.InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUser 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 com.pulumi.meraki.organizations.outputs.InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUserSecret;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUser {
/**
* @return The public key for the registered user
*
*/
private @Nullable String publicKey;
/**
* @return Stores the user secret hash
*
*/
private @Nullable InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUserSecret secret;
/**
* @return The username added to Catalyst device
*
*/
private @Nullable String username;
private InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUser() {}
/**
* @return The public key for the registered user
*
*/
public Optional publicKey() {
return Optional.ofNullable(this.publicKey);
}
/**
* @return Stores the user secret hash
*
*/
public Optional secret() {
return Optional.ofNullable(this.secret);
}
/**
* @return The username added to Catalyst device
*
*/
public Optional username() {
return Optional.ofNullable(this.username);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUser defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String publicKey;
private @Nullable InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUserSecret secret;
private @Nullable String username;
public Builder() {}
public Builder(InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUser defaults) {
Objects.requireNonNull(defaults);
this.publicKey = defaults.publicKey;
this.secret = defaults.secret;
this.username = defaults.username;
}
@CustomType.Setter
public Builder publicKey(@Nullable String publicKey) {
this.publicKey = publicKey;
return this;
}
@CustomType.Setter
public Builder secret(@Nullable InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUserSecret secret) {
this.secret = secret;
return this;
}
@CustomType.Setter
public Builder username(@Nullable String username) {
this.username = username;
return this;
}
public InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUser build() {
final var _resultValue = new InventoryOnboardingCloudMonitoringPrepareItemConfigParamsUser();
_resultValue.publicKey = publicKey;
_resultValue.secret = secret;
_resultValue.username = username;
return _resultValue;
}
}
}