com.azure.resourcemanager.migrationdiscoverysap.models.SapMigrateError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-migrationdiscoverysap Show documentation
Show all versions of azure-resourcemanager-migrationdiscoverysap Show documentation
This package contains Microsoft Azure SDK for MigrationDiscoverySap Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Migration Discovery SAP Client. Package tag package-preview-2023-10.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.migrationdiscoverysap.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* An error response from the SAP migrate resources.
*/
@Fluent
public final class SapMigrateError {
/*
* The SAP Discovery site resource error body.
*/
@JsonProperty(value = "properties")
private ErrorDefinition properties;
/**
* Creates an instance of SapMigrateError class.
*/
public SapMigrateError() {
}
/**
* Get the properties property: The SAP Discovery site resource error body.
*
* @return the properties value.
*/
public ErrorDefinition properties() {
return this.properties;
}
/**
* Set the properties property: The SAP Discovery site resource error body.
*
* @param properties the properties value to set.
* @return the SapMigrateError object itself.
*/
public SapMigrateError withProperties(ErrorDefinition properties) {
this.properties = properties;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
if (properties() != null) {
properties().validate();
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy