Class SourceResource
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhub.model.SourceResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SourceResource.Builder,SourceResource>
@Generated("software.amazon.awssdk:codegen") public final class SourceResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceResource.Builder,SourceResource>
A source resource can be a source server, a migration wave, an application, or any other resource that you track.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSourceResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SourceResource.Builderbuilder()Stringdescription()A description that can be free-form text to record additional detail about the resource for clarity or later reference.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()This is the name that you want to use to identify the resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SourceResource.Builder>serializableBuilderClass()StringstatusDetail()A free-form description of the status of the resource.SourceResource.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
This is the name that you want to use to identify the resource. If the resource is an AWS resource, we recommend that you set this parameter to the ARN of the resource.
- Returns:
- This is the name that you want to use to identify the resource. If the resource is an AWS resource, we recommend that you set this parameter to the ARN of the resource.
-
description
public final String description()
A description that can be free-form text to record additional detail about the resource for clarity or later reference.
- Returns:
- A description that can be free-form text to record additional detail about the resource for clarity or later reference.
-
statusDetail
public final String statusDetail()
A free-form description of the status of the resource.
- Returns:
- A free-form description of the status of the resource.
-
toBuilder
public SourceResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SourceResource.Builder,SourceResource>
-
builder
public static SourceResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends SourceResource.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-