Class UpdateJobStatusRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.s3control.model.S3ControlRequest
-
- software.amazon.awssdk.services.s3control.model.UpdateJobStatusRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateJobStatusRequest.Builder,UpdateJobStatusRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateJobStatusRequest extends S3ControlRequest implements ToCopyableBuilder<UpdateJobStatusRequest.Builder,UpdateJobStatusRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateJobStatusRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID associated with the S3 Batch Operations job.static UpdateJobStatusRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringjobId()The ID of the job whose status you want to update.RequestedJobStatusrequestedJobStatus()The status that you want to move the specified job to.StringrequestedJobStatusAsString()The status that you want to move the specified job to.List<SdkField<?>>sdkFields()static Class<? extends UpdateJobStatusRequest.Builder>serializableBuilderClass()StringstatusUpdateReason()A description of the reason why you want to change the specified job's status.UpdateJobStatusRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
accountId
public final String accountId()
The Amazon Web Services account ID associated with the S3 Batch Operations job.
- Returns:
- The Amazon Web Services account ID associated with the S3 Batch Operations job.
-
jobId
public final String jobId()
The ID of the job whose status you want to update.
- Returns:
- The ID of the job whose status you want to update.
-
requestedJobStatus
public final RequestedJobStatus requestedJobStatus()
The status that you want to move the specified job to.
If the service returns an enum value that is not available in the current SDK version,
requestedJobStatuswill returnRequestedJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestedJobStatusAsString().- Returns:
- The status that you want to move the specified job to.
- See Also:
RequestedJobStatus
-
requestedJobStatusAsString
public final String requestedJobStatusAsString()
The status that you want to move the specified job to.
If the service returns an enum value that is not available in the current SDK version,
requestedJobStatuswill returnRequestedJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrequestedJobStatusAsString().- Returns:
- The status that you want to move the specified job to.
- See Also:
RequestedJobStatus
-
statusUpdateReason
public final String statusUpdateReason()
A description of the reason why you want to change the specified job's status. This field can be any string up to the maximum length.
- Returns:
- A description of the reason why you want to change the specified job's status. This field can be any string up to the maximum length.
-
toBuilder
public UpdateJobStatusRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateJobStatusRequest.Builder,UpdateJobStatusRequest>- Specified by:
toBuilderin classS3ControlRequest
-
builder
public static UpdateJobStatusRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateJobStatusRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-