Interface ListJobsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListJobsRequest.Builder,ListJobsRequest>,GlacierRequest.Builder,SdkBuilder<ListJobsRequest.Builder,ListJobsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListJobsRequest
public static interface ListJobsRequest.Builder extends GlacierRequest.Builder, SdkPojo, CopyableBuilder<ListJobsRequest.Builder,ListJobsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListJobsRequest.BuilderaccountId(String accountId)TheAccountIdvalue is the AWS account ID of the account that owns the vault.ListJobsRequest.Buildercompleted(String completed)The state of the jobs to return.ListJobsRequest.Builderlimit(String limit)The maximum number of jobs to be returned.ListJobsRequest.Buildermarker(String marker)An opaque string used for pagination.ListJobsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListJobsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListJobsRequest.Builderstatuscode(String statuscode)The type of job status to return.ListJobsRequest.BuildervaultName(String vaultName)The name of the vault.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierRequest.Builder
build
-
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
-
accountId
ListJobsRequest.Builder accountId(String accountId)
The
AccountIdvalue is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.- Parameters:
accountId- TheAccountIdvalue is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vaultName
ListJobsRequest.Builder vaultName(String vaultName)
The name of the vault.
- Parameters:
vaultName- The name of the vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
ListJobsRequest.Builder limit(String limit)
The maximum number of jobs to be returned. The default limit is 50. The number of jobs returned might be fewer than the specified limit, but the number of returned jobs never exceeds the limit.
- Parameters:
limit- The maximum number of jobs to be returned. The default limit is 50. The number of jobs returned might be fewer than the specified limit, but the number of returned jobs never exceeds the limit.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
ListJobsRequest.Builder marker(String marker)
An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of results started in a previous List Jobs request.
- Parameters:
marker- An opaque string used for pagination. This value specifies the job at which the listing of jobs should begin. Get the marker value from a previous List Jobs response. You only need to include the marker if you are continuing the pagination of results started in a previous List Jobs request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuscode
ListJobsRequest.Builder statuscode(String statuscode)
The type of job status to return. You can specify the following values:
InProgress,Succeeded, orFailed.- Parameters:
statuscode- The type of job status to return. You can specify the following values:InProgress,Succeeded, orFailed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completed
ListJobsRequest.Builder completed(String completed)
The state of the jobs to return. You can specify
trueorfalse.- Parameters:
completed- The state of the jobs to return. You can specifytrueorfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-