Interface UploadConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UploadConfiguration.Builder,UploadConfiguration>,SdkBuilder<UploadConfiguration.Builder,UploadConfiguration>,SdkPojo
- Enclosing class:
- UploadConfiguration
public static interface UploadConfiguration.Builder extends SdkPojo, CopyableBuilder<UploadConfiguration.Builder,UploadConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UploadConfiguration.Buildername(String name)A prefix that specifies where files will be uploaded in Amazon S3.UploadConfiguration.Builderpath(String path)Specifies the path of the file(s) to upload.UploadConfiguration.BuilderuploadBehavior(String uploadBehavior)Specifies when to upload the files:UploadConfiguration.BuilderuploadBehavior(UploadBehavior uploadBehavior)Specifies when to upload the files:-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
UploadConfiguration.Builder name(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-bucketand your upload configuration name isrobot-test, your files will be uploaded tos3://my-bucket/<simid>/<runid>/robot-test.- Parameters:
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-bucketand your upload configuration name isrobot-test, your files will be uploaded tos3://my-bucket/<simid>/<runid>/robot-test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
UploadConfiguration.Builder path(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/**.logcauses all .log files in the/var/logdirectory tree to be collected. For more examples, see Glob Library.- Parameters:
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/**.logcauses all .log files in the/var/logdirectory tree to be collected. For more examples, see Glob Library.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadBehavior
UploadConfiguration.Builder uploadBehavior(String uploadBehavior)
Specifies when to upload the files:
- UPLOAD_ON_TERMINATE
-
Matching files are uploaded once the simulation enters the
TERMINATINGstate. 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.
- UPLOAD_ROLLING_AUTO_REMOVE
-
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.
- Parameters:
uploadBehavior- Specifies when to upload the files:- UPLOAD_ON_TERMINATE
-
Matching files are uploaded once the simulation enters the
TERMINATINGstate. 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.
- UPLOAD_ROLLING_AUTO_REMOVE
-
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UploadBehavior,UploadBehavior
-
uploadBehavior
UploadConfiguration.Builder uploadBehavior(UploadBehavior uploadBehavior)
Specifies when to upload the files:
- UPLOAD_ON_TERMINATE
-
Matching files are uploaded once the simulation enters the
TERMINATINGstate. 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.
- UPLOAD_ROLLING_AUTO_REMOVE
-
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.
- Parameters:
uploadBehavior- Specifies when to upload the files:- UPLOAD_ON_TERMINATE
-
Matching files are uploaded once the simulation enters the
TERMINATINGstate. 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.
- UPLOAD_ROLLING_AUTO_REMOVE
-
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UploadBehavior,UploadBehavior
-
-