@Generated(value="software.amazon.awssdk:codegen") public final class UploadConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UploadConfiguration.Builder,UploadConfiguration>
Provides upload configuration information. Files are uploaded from the simulation job to a location you specify.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UploadConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UploadConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
A prefix that specifies where files will be uploaded in Amazon S3.
|
String |
path()
Specifies the path of the file(s) to upload.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UploadConfiguration.Builder> |
serializableBuilderClass() |
UploadConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
UploadBehavior |
uploadBehavior()
Specifies when to upload the files:
|
String |
uploadBehaviorAsString()
Specifies when to upload the files:
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
A prefix that specifies where files will be uploaded in Amazon S3. It is appended to the simulation output location to determine the final path.
For example, if your simulation output location is s3://my-bucket and your upload configuration name
is robot-test, your files will be uploaded to
s3://my-bucket/<simid>/<runid>/robot-test.
For example, if your simulation output location is s3://my-bucket and your upload
configuration name is robot-test, your files will be uploaded to
s3://my-bucket/<simid>/<runid>/robot-test.
public final String path()
Specifies the path of the file(s) to upload. Standard Unix glob matching rules are accepted, with the addition of
** as a super asterisk. For example, specifying /var/log/**.log causes all .log
files in the /var/log directory tree to be collected. For more examples, see Glob Library.
** as a super asterisk. For example, specifying
/var/log/**.log causes all .log files in the /var/log directory tree to be
collected. For more examples, see Glob Library.public final UploadBehavior uploadBehavior()
Specifies when to upload the files:
Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not
uploaded until all of your code (including tools) have stopped.
If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.
Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.
If the service returns an enum value that is not available in the current SDK version, uploadBehavior
will return UploadBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from uploadBehaviorAsString().
Matching files are uploaded once the simulation enters the TERMINATING state. Matching files
are not uploaded until all of your code (including tools) have stopped.
If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.
Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.
UploadBehaviorpublic final String uploadBehaviorAsString()
Specifies when to upload the files:
Matching files are uploaded once the simulation enters the TERMINATING state. Matching files are not
uploaded until all of your code (including tools) have stopped.
If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.
Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.
If the service returns an enum value that is not available in the current SDK version, uploadBehavior
will return UploadBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from uploadBehaviorAsString().
Matching files are uploaded once the simulation enters the TERMINATING state. Matching files
are not uploaded until all of your code (including tools) have stopped.
If there is a problem uploading a file, the upload is retried. If problems persist, no further upload attempts will be made.
Matching files are uploaded as they are created. They are deleted after they are uploaded. The specified path is checked every 5 seconds. A final check is made when all of your code (including tools) have stopped.
UploadBehaviorpublic UploadConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UploadConfiguration.Builder,UploadConfiguration>public static UploadConfiguration.Builder builder()
public static Class<? extends UploadConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.