com.pulumi.azurenative.databox.outputs.DataBoxDiskCopyLogDetailsResponse 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.databox.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class DataBoxDiskCopyLogDetailsResponse {
/**
* @return Indicates the type of job details.
* Expected value is 'DataBoxDisk'.
*
*/
private String copyLogDetailsType;
/**
* @return Disk Serial Number.
*
*/
private String diskSerialNumber;
/**
* @return Link for copy error logs.
*
*/
private String errorLogLink;
/**
* @return Link for copy verbose logs.
*
*/
private String verboseLogLink;
private DataBoxDiskCopyLogDetailsResponse() {}
/**
* @return Indicates the type of job details.
* Expected value is 'DataBoxDisk'.
*
*/
public String copyLogDetailsType() {
return this.copyLogDetailsType;
}
/**
* @return Disk Serial Number.
*
*/
public String diskSerialNumber() {
return this.diskSerialNumber;
}
/**
* @return Link for copy error logs.
*
*/
public String errorLogLink() {
return this.errorLogLink;
}
/**
* @return Link for copy verbose logs.
*
*/
public String verboseLogLink() {
return this.verboseLogLink;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataBoxDiskCopyLogDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String copyLogDetailsType;
private String diskSerialNumber;
private String errorLogLink;
private String verboseLogLink;
public Builder() {}
public Builder(DataBoxDiskCopyLogDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.copyLogDetailsType = defaults.copyLogDetailsType;
this.diskSerialNumber = defaults.diskSerialNumber;
this.errorLogLink = defaults.errorLogLink;
this.verboseLogLink = defaults.verboseLogLink;
}
@CustomType.Setter
public Builder copyLogDetailsType(String copyLogDetailsType) {
if (copyLogDetailsType == null) {
throw new MissingRequiredPropertyException("DataBoxDiskCopyLogDetailsResponse", "copyLogDetailsType");
}
this.copyLogDetailsType = copyLogDetailsType;
return this;
}
@CustomType.Setter
public Builder diskSerialNumber(String diskSerialNumber) {
if (diskSerialNumber == null) {
throw new MissingRequiredPropertyException("DataBoxDiskCopyLogDetailsResponse", "diskSerialNumber");
}
this.diskSerialNumber = diskSerialNumber;
return this;
}
@CustomType.Setter
public Builder errorLogLink(String errorLogLink) {
if (errorLogLink == null) {
throw new MissingRequiredPropertyException("DataBoxDiskCopyLogDetailsResponse", "errorLogLink");
}
this.errorLogLink = errorLogLink;
return this;
}
@CustomType.Setter
public Builder verboseLogLink(String verboseLogLink) {
if (verboseLogLink == null) {
throw new MissingRequiredPropertyException("DataBoxDiskCopyLogDetailsResponse", "verboseLogLink");
}
this.verboseLogLink = verboseLogLink;
return this;
}
public DataBoxDiskCopyLogDetailsResponse build() {
final var _resultValue = new DataBoxDiskCopyLogDetailsResponse();
_resultValue.copyLogDetailsType = copyLogDetailsType;
_resultValue.diskSerialNumber = diskSerialNumber;
_resultValue.errorLogLink = errorLogLink;
_resultValue.verboseLogLink = verboseLogLink;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy