
com.pulumi.azurenative.datamigration.outputs.ListSqlMigrationServiceAuthKeysResult 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.datamigration.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 ListSqlMigrationServiceAuthKeysResult {
/**
* @return The first authentication key.
*
*/
private @Nullable String authKey1;
/**
* @return The second authentication key.
*
*/
private @Nullable String authKey2;
private ListSqlMigrationServiceAuthKeysResult() {}
/**
* @return The first authentication key.
*
*/
public Optional authKey1() {
return Optional.ofNullable(this.authKey1);
}
/**
* @return The second authentication key.
*
*/
public Optional authKey2() {
return Optional.ofNullable(this.authKey2);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListSqlMigrationServiceAuthKeysResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String authKey1;
private @Nullable String authKey2;
public Builder() {}
public Builder(ListSqlMigrationServiceAuthKeysResult defaults) {
Objects.requireNonNull(defaults);
this.authKey1 = defaults.authKey1;
this.authKey2 = defaults.authKey2;
}
@CustomType.Setter
public Builder authKey1(@Nullable String authKey1) {
this.authKey1 = authKey1;
return this;
}
@CustomType.Setter
public Builder authKey2(@Nullable String authKey2) {
this.authKey2 = authKey2;
return this;
}
public ListSqlMigrationServiceAuthKeysResult build() {
final var _resultValue = new ListSqlMigrationServiceAuthKeysResult();
_resultValue.authKey1 = authKey1;
_resultValue.authKey2 = authKey2;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy