com.pulumi.azurenative.servicebus.outputs.GetMigrationConfigResult 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.servicebus.outputs;
import com.pulumi.azurenative.servicebus.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetMigrationConfigResult {
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return The geo-location where the resource lives
*
*/
private String location;
/**
* @return State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
*
*/
private String migrationState;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Number of entities pending to be replicated.
*
*/
private Double pendingReplicationOperationsCount;
/**
* @return Name to access Standard Namespace after migration
*
*/
private String postMigrationName;
/**
* @return Provisioning state of Migration Configuration
*
*/
private String provisioningState;
/**
* @return The system meta data relating to this resource.
*
*/
private SystemDataResponse systemData;
/**
* @return Existing premium Namespace ARM Id name which has no entities, will be used for migration
*
*/
private String targetNamespace;
/**
* @return The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
*
*/
private String type;
private GetMigrationConfigResult() {}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return The geo-location where the resource lives
*
*/
public String location() {
return this.location;
}
/**
* @return State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
*
*/
public String migrationState() {
return this.migrationState;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Number of entities pending to be replicated.
*
*/
public Double pendingReplicationOperationsCount() {
return this.pendingReplicationOperationsCount;
}
/**
* @return Name to access Standard Namespace after migration
*
*/
public String postMigrationName() {
return this.postMigrationName;
}
/**
* @return Provisioning state of Migration Configuration
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The system meta data relating to this resource.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Existing premium Namespace ARM Id name which has no entities, will be used for migration
*
*/
public String targetNamespace() {
return this.targetNamespace;
}
/**
* @return The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetMigrationConfigResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private String location;
private String migrationState;
private String name;
private Double pendingReplicationOperationsCount;
private String postMigrationName;
private String provisioningState;
private SystemDataResponse systemData;
private String targetNamespace;
private String type;
public Builder() {}
public Builder(GetMigrationConfigResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.location = defaults.location;
this.migrationState = defaults.migrationState;
this.name = defaults.name;
this.pendingReplicationOperationsCount = defaults.pendingReplicationOperationsCount;
this.postMigrationName = defaults.postMigrationName;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.targetNamespace = defaults.targetNamespace;
this.type = defaults.type;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder migrationState(String migrationState) {
if (migrationState == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "migrationState");
}
this.migrationState = migrationState;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder pendingReplicationOperationsCount(Double pendingReplicationOperationsCount) {
if (pendingReplicationOperationsCount == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "pendingReplicationOperationsCount");
}
this.pendingReplicationOperationsCount = pendingReplicationOperationsCount;
return this;
}
@CustomType.Setter
public Builder postMigrationName(String postMigrationName) {
if (postMigrationName == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "postMigrationName");
}
this.postMigrationName = postMigrationName;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder targetNamespace(String targetNamespace) {
if (targetNamespace == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "targetNamespace");
}
this.targetNamespace = targetNamespace;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetMigrationConfigResult", "type");
}
this.type = type;
return this;
}
public GetMigrationConfigResult build() {
final var _resultValue = new GetMigrationConfigResult();
_resultValue.id = id;
_resultValue.location = location;
_resultValue.migrationState = migrationState;
_resultValue.name = name;
_resultValue.pendingReplicationOperationsCount = pendingReplicationOperationsCount;
_resultValue.postMigrationName = postMigrationName;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.targetNamespace = targetNamespace;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy