Class ResourceSnapshotJobSummary
- java.lang.Object
-
- software.amazon.awssdk.services.partnercentralselling.model.ResourceSnapshotJobSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceSnapshotJobSummary.Builder,ResourceSnapshotJobSummary>
@Generated("software.amazon.awssdk:codegen") public final class ResourceSnapshotJobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceSnapshotJobSummary.Builder,ResourceSnapshotJobSummary>
An object that contains a
Resource Snapshot Job's subset of fields.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceSnapshotJobSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) for the resource snapshot job.static ResourceSnapshotJobSummary.Builderbuilder()StringengagementId()The unique identifier of the Engagement.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier for the resource snapshot job within the AWS Partner Central system.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResourceSnapshotJobSummary.Builder>serializableBuilderClass()ResourceSnapshotJobStatusstatus()The current status of the snapshot job.StringstatusAsString()The current status of the snapshot job.ResourceSnapshotJobSummary.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
-
arn
public final String arn()
The Amazon Resource Name (ARN) for the resource snapshot job.
- Returns:
- The Amazon Resource Name (ARN) for the resource snapshot job.
-
engagementId
public final String engagementId()
The unique identifier of the Engagement.
- Returns:
- The unique identifier of the Engagement.
-
id
public final String id()
The unique identifier for the resource snapshot job within the AWS Partner Central system. This ID is used for direct references to the job within the service.
- Returns:
- The unique identifier for the resource snapshot job within the AWS Partner Central system. This ID is used for direct references to the job within the service.
-
status
public final ResourceSnapshotJobStatus status()
The current status of the snapshot job.
Valid values:
-
STOPPED: The job is not currently running.
-
RUNNING: The job is actively executing.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResourceSnapshotJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the snapshot job.
Valid values:
-
STOPPED: The job is not currently running.
-
RUNNING: The job is actively executing.
-
- See Also:
ResourceSnapshotJobStatus
-
-
statusAsString
public final String statusAsString()
The current status of the snapshot job.
Valid values:
-
STOPPED: The job is not currently running.
-
RUNNING: The job is actively executing.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnResourceSnapshotJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the snapshot job.
Valid values:
-
STOPPED: The job is not currently running.
-
RUNNING: The job is actively executing.
-
- See Also:
ResourceSnapshotJobStatus
-
-
toBuilder
public ResourceSnapshotJobSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceSnapshotJobSummary.Builder,ResourceSnapshotJobSummary>
-
builder
public static ResourceSnapshotJobSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceSnapshotJobSummary.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
-
-