Class CreateBillOfMaterialsImportJobRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.supplychain.model.SupplyChainRequest
-
- software.amazon.awssdk.services.supplychain.model.CreateBillOfMaterialsImportJobRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateBillOfMaterialsImportJobRequest.Builder,CreateBillOfMaterialsImportJobRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateBillOfMaterialsImportJobRequest extends SupplyChainRequest implements ToCopyableBuilder<CreateBillOfMaterialsImportJobRequest.Builder,CreateBillOfMaterialsImportJobRequest>
The request parameters for CreateBillOfMaterialsImportJob.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateBillOfMaterialsImportJobRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateBillOfMaterialsImportJobRequest.Builderbuilder()StringclientToken()An idempotency token ensures the API request is only completed no more than once.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The AWS Supply Chain instance identifier.Strings3uri()The S3 URI of the CSV file to be imported.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateBillOfMaterialsImportJobRequest.Builder>serializableBuilderClass()CreateBillOfMaterialsImportJobRequest.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
-
instanceId
public final String instanceId()
The AWS Supply Chain instance identifier.
- Returns:
- The AWS Supply Chain instance identifier.
-
s3uri
public final String s3uri()
The S3 URI of the CSV file to be imported. The bucket must grant permissions for AWS Supply Chain to read the file.
- Returns:
- The S3 URI of the CSV file to be imported. The bucket must grant permissions for AWS Supply Chain to read the file.
-
clientToken
public final String clientToken()
An idempotency token ensures the API request is only completed no more than once. This way, retrying the request will not trigger the operation multiple times. A client token is a unique, case-sensitive string of 33 to 128 ASCII characters. To make an idempotent API request, specify a client token in the request. You should not reuse the same client token for other requests. If you retry a successful request with the same client token, the request will succeed with no further actions being taken, and you will receive the same API response as the original successful request.
- Returns:
- An idempotency token ensures the API request is only completed no more than once. This way, retrying the request will not trigger the operation multiple times. A client token is a unique, case-sensitive string of 33 to 128 ASCII characters. To make an idempotent API request, specify a client token in the request. You should not reuse the same client token for other requests. If you retry a successful request with the same client token, the request will succeed with no further actions being taken, and you will receive the same API response as the original successful request.
-
toBuilder
public CreateBillOfMaterialsImportJobRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateBillOfMaterialsImportJobRequest.Builder,CreateBillOfMaterialsImportJobRequest>- Specified by:
toBuilderin classSupplyChainRequest
-
builder
public static CreateBillOfMaterialsImportJobRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateBillOfMaterialsImportJobRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-