
com.pulumi.azurenative.migrate.outputs.GetImportCollectorsOperationResult 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.migrate.outputs;
import com.pulumi.azurenative.migrate.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetImportCollectorsOperationResult {
/**
* @return Gets the Timestamp when collector was created.
*
*/
private String createdTimestamp;
/**
* @return Gets the discovery site id.
*
*/
private @Nullable String discoverySiteId;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return The status of the last operation.
*
*/
private @Nullable String provisioningState;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Timestamp when collector was last updated.
*
*/
private String updatedTimestamp;
private GetImportCollectorsOperationResult() {}
/**
* @return Gets the Timestamp when collector was created.
*
*/
public String createdTimestamp() {
return this.createdTimestamp;
}
/**
* @return Gets the discovery site id.
*
*/
public Optional discoverySiteId() {
return Optional.ofNullable(this.discoverySiteId);
}
/**
* @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 name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return The status of the last operation.
*
*/
public Optional provisioningState() {
return Optional.ofNullable(this.provisioningState);
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Timestamp when collector was last updated.
*
*/
public String updatedTimestamp() {
return this.updatedTimestamp;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetImportCollectorsOperationResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdTimestamp;
private @Nullable String discoverySiteId;
private String id;
private String name;
private @Nullable String provisioningState;
private SystemDataResponse systemData;
private String type;
private String updatedTimestamp;
public Builder() {}
public Builder(GetImportCollectorsOperationResult defaults) {
Objects.requireNonNull(defaults);
this.createdTimestamp = defaults.createdTimestamp;
this.discoverySiteId = defaults.discoverySiteId;
this.id = defaults.id;
this.name = defaults.name;
this.provisioningState = defaults.provisioningState;
this.systemData = defaults.systemData;
this.type = defaults.type;
this.updatedTimestamp = defaults.updatedTimestamp;
}
@CustomType.Setter
public Builder createdTimestamp(String createdTimestamp) {
if (createdTimestamp == null) {
throw new MissingRequiredPropertyException("GetImportCollectorsOperationResult", "createdTimestamp");
}
this.createdTimestamp = createdTimestamp;
return this;
}
@CustomType.Setter
public Builder discoverySiteId(@Nullable String discoverySiteId) {
this.discoverySiteId = discoverySiteId;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetImportCollectorsOperationResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetImportCollectorsOperationResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder provisioningState(@Nullable String provisioningState) {
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetImportCollectorsOperationResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetImportCollectorsOperationResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder updatedTimestamp(String updatedTimestamp) {
if (updatedTimestamp == null) {
throw new MissingRequiredPropertyException("GetImportCollectorsOperationResult", "updatedTimestamp");
}
this.updatedTimestamp = updatedTimestamp;
return this;
}
public GetImportCollectorsOperationResult build() {
final var _resultValue = new GetImportCollectorsOperationResult();
_resultValue.createdTimestamp = createdTimestamp;
_resultValue.discoverySiteId = discoverySiteId;
_resultValue.id = id;
_resultValue.name = name;
_resultValue.provisioningState = provisioningState;
_resultValue.systemData = systemData;
_resultValue.type = type;
_resultValue.updatedTimestamp = updatedTimestamp;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy