
com.pulumi.azurenative.apimanagement.outputs.ListGatewayKeysResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.apimanagement.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ListGatewayKeysResult {
/**
* @return Primary gateway key.
*
*/
private @Nullable String primary;
/**
* @return Secondary gateway key.
*
*/
private @Nullable String secondary;
private ListGatewayKeysResult() {}
/**
* @return Primary gateway key.
*
*/
public Optional primary() {
return Optional.ofNullable(this.primary);
}
/**
* @return Secondary gateway key.
*
*/
public Optional secondary() {
return Optional.ofNullable(this.secondary);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListGatewayKeysResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String primary;
private @Nullable String secondary;
public Builder() {}
public Builder(ListGatewayKeysResult defaults) {
Objects.requireNonNull(defaults);
this.primary = defaults.primary;
this.secondary = defaults.secondary;
}
@CustomType.Setter
public Builder primary(@Nullable String primary) {
this.primary = primary;
return this;
}
@CustomType.Setter
public Builder secondary(@Nullable String secondary) {
this.secondary = secondary;
return this;
}
public ListGatewayKeysResult build() {
final var _resultValue = new ListGatewayKeysResult();
_resultValue.primary = primary;
_resultValue.secondary = secondary;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy