@Generated(value="software.amazon.awssdk:codegen") public class CreateJobResponse extends ImportExportResponse implements ToCopyableBuilder<CreateJobResponse.Builder,CreateJobResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateJobResponse.Builder |
Modifier and Type | Method and Description |
---|---|
List<Artifact> |
artifactList()
Returns the value of the ArtifactList property for this object.
|
static CreateJobResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
String |
jobId()
Returns the value of the JobId property for this object.
|
JobType |
jobType()
Returns the value of the JobType property for this object.
|
String |
jobTypeString()
Returns the value of the JobType property for this object.
|
static Class<? extends CreateJobResponse.Builder> |
serializableBuilderClass() |
String |
signature()
Returns the value of the Signature property for this object.
|
String |
signatureFileContents()
Returns the value of the SignatureFileContents property for this object.
|
CreateJobResponse.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
warningMessage()
Returns the value of the WarningMessage property for this object.
|
copy
public String jobId()
public JobType jobType()
If the service returns an enum value that is not available in the current SDK version, jobType
will
return JobType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobTypeString()
.
JobType
public String jobTypeString()
If the service returns an enum value that is not available in the current SDK version, jobType
will
return JobType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
jobTypeString()
.
JobType
public String signature()
public String signatureFileContents()
public String warningMessage()
public List<Artifact> artifactList()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public CreateJobResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateJobResponse.Builder,CreateJobResponse>
toBuilder
in class AwsResponse
public static CreateJobResponse.Builder builder()
public static Class<? extends CreateJobResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.