com.pulumi.meraki.networks.outputs.SwitchRoutingOspfMd5AuthenticationKey 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 java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class SwitchRoutingOspfMd5AuthenticationKey {
/**
* @return MD5 authentication key index. Key index must be between 1 to 255
*
*/
private @Nullable Integer id;
/**
* @return MD5 authentication passphrase
*
*/
private @Nullable String passphrase;
private SwitchRoutingOspfMd5AuthenticationKey() {}
/**
* @return MD5 authentication key index. Key index must be between 1 to 255
*
*/
public Optional id() {
return Optional.ofNullable(this.id);
}
/**
* @return MD5 authentication passphrase
*
*/
public Optional passphrase() {
return Optional.ofNullable(this.passphrase);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(SwitchRoutingOspfMd5AuthenticationKey defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable Integer id;
private @Nullable String passphrase;
public Builder() {}
public Builder(SwitchRoutingOspfMd5AuthenticationKey defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.passphrase = defaults.passphrase;
}
@CustomType.Setter
public Builder id(@Nullable Integer id) {
this.id = id;
return this;
}
@CustomType.Setter
public Builder passphrase(@Nullable String passphrase) {
this.passphrase = passphrase;
return this;
}
public SwitchRoutingOspfMd5AuthenticationKey build() {
final var _resultValue = new SwitchRoutingOspfMd5AuthenticationKey();
_resultValue.id = id;
_resultValue.passphrase = passphrase;
return _resultValue;
}
}
}