Class GetModelImportJobResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.bedrock.model.BedrockResponse
-
- software.amazon.awssdk.services.bedrock.model.GetModelImportJobResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetModelImportJobResponse.Builder,GetModelImportJobResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetModelImportJobResponse extends BedrockResponse implements ToCopyableBuilder<GetModelImportJobResponse.Builder,GetModelImportJobResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetModelImportJobResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetModelImportJobResponse.Builderbuilder()InstantcreationTime()The time the resource was created.InstantendTime()Time that the resource transitioned to terminal state.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureMessage()Information about why the import job failed.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringimportedModelArn()The Amazon Resource Name (ARN) of the imported model.StringimportedModelKmsKeyArn()The imported model is encrypted at rest using this key.StringimportedModelName()The name of the imported model.StringjobArn()The Amazon Resource Name (ARN) of the import job.StringjobName()The name of the import job.InstantlastModifiedTime()Time the resource was last modified.ModelDataSourcemodelDataSource()The data source for the imported model.StringroleArn()The Amazon Resource Name (ARN) of the IAM role associated with this job.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetModelImportJobResponse.Builder>serializableBuilderClass()ModelImportJobStatusstatus()The status of the job.StringstatusAsString()The status of the job.GetModelImportJobResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.VpcConfigvpcConfig()The Virtual Private Cloud (VPC) configuration of the import model job.-
Methods inherited from class software.amazon.awssdk.services.bedrock.model.BedrockResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
jobArn
public final String jobArn()
The Amazon Resource Name (ARN) of the import job.
- Returns:
- The Amazon Resource Name (ARN) of the import job.
-
jobName
public final String jobName()
The name of the import job.
- Returns:
- The name of the import job.
-
importedModelName
public final String importedModelName()
The name of the imported model.
- Returns:
- The name of the imported model.
-
importedModelArn
public final String importedModelArn()
The Amazon Resource Name (ARN) of the imported model.
- Returns:
- The Amazon Resource Name (ARN) of the imported model.
-
roleArn
public final String roleArn()
The Amazon Resource Name (ARN) of the IAM role associated with this job.
- Returns:
- The Amazon Resource Name (ARN) of the IAM role associated with this job.
-
modelDataSource
public final ModelDataSource modelDataSource()
The data source for the imported model.
- Returns:
- The data source for the imported model.
-
status
public final ModelImportJobStatus status()
The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelImportJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.
- See Also:
ModelImportJobStatus
-
statusAsString
public final String statusAsString()
The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnModelImportJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.
- See Also:
ModelImportJobStatus
-
failureMessage
public final String failureMessage()
Information about why the import job failed.
- Returns:
- Information about why the import job failed.
-
creationTime
public final Instant creationTime()
The time the resource was created.
- Returns:
- The time the resource was created.
-
lastModifiedTime
public final Instant lastModifiedTime()
Time the resource was last modified.
- Returns:
- Time the resource was last modified.
-
endTime
public final Instant endTime()
Time that the resource transitioned to terminal state.
- Returns:
- Time that the resource transitioned to terminal state.
-
vpcConfig
public final VpcConfig vpcConfig()
The Virtual Private Cloud (VPC) configuration of the import model job.
- Returns:
- The Virtual Private Cloud (VPC) configuration of the import model job.
-
importedModelKmsKeyArn
public final String importedModelKmsKeyArn()
The imported model is encrypted at rest using this key.
- Returns:
- The imported model is encrypted at rest using this key.
-
toBuilder
public GetModelImportJobResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetModelImportJobResponse.Builder,GetModelImportJobResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetModelImportJobResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetModelImportJobResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-