All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.backup.model.ListCopyJobsRequest Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Backup module holds the client classes that are used for communicating with AWS Backup Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.backup.model;

import java.io.Serializable;
import javax.annotation.Generated;

import com.amazonaws.AmazonWebServiceRequest;

/**
 * 
 * @see AWS API
 *      Documentation
 */
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class ListCopyJobsRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable {

    /**
     * 

* The next item following a partial list of returned items. For example, if a request is made to return MaxResults * number of items, NextToken allows you to return more items in your list starting at the location pointed to by * the next token. *

*/ private String nextToken; /** *

* The maximum number of items to be returned. *

*/ private Integer maxResults; /** *

* Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). *

*/ private String byResourceArn; /** *

* Returns only copy jobs that are in the specified state. *

*/ private String byState; /** *

* Returns only copy jobs that were created before the specified date. *

*/ private java.util.Date byCreatedBefore; /** *

* Returns only copy jobs that were created after the specified date. *

*/ private java.util.Date byCreatedAfter; /** *

* Returns only backup jobs for the specified resources: *

*
    *
  • *

    * Aurora for Amazon Aurora *

    *
  • *
  • *

    * CloudFormation for CloudFormation *

    *
  • *
  • *

    * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

    *
  • *
  • *

    * DynamoDB for Amazon DynamoDB *

    *
  • *
  • *

    * EBS for Amazon Elastic Block Store *

    *
  • *
  • *

    * EC2 for Amazon Elastic Compute Cloud *

    *
  • *
  • *

    * EFS for Amazon Elastic File System *

    *
  • *
  • *

    * FSx for Amazon FSx *

    *
  • *
  • *

    * Neptune for Amazon Neptune *

    *
  • *
  • *

    * Redshift for Amazon Redshift *

    *
  • *
  • *

    * RDS for Amazon Relational Database Service *

    *
  • *
  • *

    * SAP HANA on Amazon EC2 for SAP HANA databases *

    *
  • *
  • *

    * Storage Gateway for Storage Gateway *

    *
  • *
  • *

    * S3 for Amazon S3 *

    *
  • *
  • *

    * Timestream for Amazon Timestream *

    *
  • *
  • *

    * VirtualMachine for virtual machines *

    *
  • *
*/ private String byResourceType; /** *

* An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. *

*/ private String byDestinationVaultArn; /** *

* The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID. *

*/ private String byAccountId; /** *

* Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC). *

*/ private java.util.Date byCompleteBefore; /** *

* Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC). *

*/ private java.util.Date byCompleteAfter; /** *

* This is a filter to list child (nested) jobs based on parent job ID. *

*/ private String byParentJobId; /** *

* This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches the value * you input. *

*

* Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and * INVALIDPARAMETERS. *

*

* View Monitoring for a list * of accepted strings. *

*

* The the value ANY returns count of all message categories. *

*

* AGGREGATE_ALL aggregates job counts for all message categories and returns the sum. *

*/ private String byMessageCategory; /** *

* The next item following a partial list of returned items. For example, if a request is made to return MaxResults * number of items, NextToken allows you to return more items in your list starting at the location pointed to by * the next token. *

* * @param nextToken * The next item following a partial list of returned items. For example, if a request is made to return * MaxResults number of items, NextToken allows you to return more items in your list starting at the * location pointed to by the next token. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** *

* The next item following a partial list of returned items. For example, if a request is made to return MaxResults * number of items, NextToken allows you to return more items in your list starting at the location pointed to by * the next token. *

* * @return The next item following a partial list of returned items. For example, if a request is made to return * MaxResults number of items, NextToken allows you to return more items in your list starting at the * location pointed to by the next token. */ public String getNextToken() { return this.nextToken; } /** *

* The next item following a partial list of returned items. For example, if a request is made to return MaxResults * number of items, NextToken allows you to return more items in your list starting at the location pointed to by * the next token. *

* * @param nextToken * The next item following a partial list of returned items. For example, if a request is made to return * MaxResults number of items, NextToken allows you to return more items in your list starting at the * location pointed to by the next token. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** *

* The maximum number of items to be returned. *

* * @param maxResults * The maximum number of items to be returned. */ public void setMaxResults(Integer maxResults) { this.maxResults = maxResults; } /** *

* The maximum number of items to be returned. *

* * @return The maximum number of items to be returned. */ public Integer getMaxResults() { return this.maxResults; } /** *

* The maximum number of items to be returned. *

* * @param maxResults * The maximum number of items to be returned. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withMaxResults(Integer maxResults) { setMaxResults(maxResults); return this; } /** *

* Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). *

* * @param byResourceArn * Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). */ public void setByResourceArn(String byResourceArn) { this.byResourceArn = byResourceArn; } /** *

* Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). *

* * @return Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). */ public String getByResourceArn() { return this.byResourceArn; } /** *

* Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). *

* * @param byResourceArn * Returns only copy jobs that match the specified resource Amazon Resource Name (ARN). * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByResourceArn(String byResourceArn) { setByResourceArn(byResourceArn); return this; } /** *

* Returns only copy jobs that are in the specified state. *

* * @param byState * Returns only copy jobs that are in the specified state. * @see CopyJobState */ public void setByState(String byState) { this.byState = byState; } /** *

* Returns only copy jobs that are in the specified state. *

* * @return Returns only copy jobs that are in the specified state. * @see CopyJobState */ public String getByState() { return this.byState; } /** *

* Returns only copy jobs that are in the specified state. *

* * @param byState * Returns only copy jobs that are in the specified state. * @return Returns a reference to this object so that method calls can be chained together. * @see CopyJobState */ public ListCopyJobsRequest withByState(String byState) { setByState(byState); return this; } /** *

* Returns only copy jobs that are in the specified state. *

* * @param byState * Returns only copy jobs that are in the specified state. * @return Returns a reference to this object so that method calls can be chained together. * @see CopyJobState */ public ListCopyJobsRequest withByState(CopyJobState byState) { this.byState = byState.toString(); return this; } /** *

* Returns only copy jobs that were created before the specified date. *

* * @param byCreatedBefore * Returns only copy jobs that were created before the specified date. */ public void setByCreatedBefore(java.util.Date byCreatedBefore) { this.byCreatedBefore = byCreatedBefore; } /** *

* Returns only copy jobs that were created before the specified date. *

* * @return Returns only copy jobs that were created before the specified date. */ public java.util.Date getByCreatedBefore() { return this.byCreatedBefore; } /** *

* Returns only copy jobs that were created before the specified date. *

* * @param byCreatedBefore * Returns only copy jobs that were created before the specified date. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByCreatedBefore(java.util.Date byCreatedBefore) { setByCreatedBefore(byCreatedBefore); return this; } /** *

* Returns only copy jobs that were created after the specified date. *

* * @param byCreatedAfter * Returns only copy jobs that were created after the specified date. */ public void setByCreatedAfter(java.util.Date byCreatedAfter) { this.byCreatedAfter = byCreatedAfter; } /** *

* Returns only copy jobs that were created after the specified date. *

* * @return Returns only copy jobs that were created after the specified date. */ public java.util.Date getByCreatedAfter() { return this.byCreatedAfter; } /** *

* Returns only copy jobs that were created after the specified date. *

* * @param byCreatedAfter * Returns only copy jobs that were created after the specified date. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByCreatedAfter(java.util.Date byCreatedAfter) { setByCreatedAfter(byCreatedAfter); return this; } /** *

* Returns only backup jobs for the specified resources: *

*
    *
  • *

    * Aurora for Amazon Aurora *

    *
  • *
  • *

    * CloudFormation for CloudFormation *

    *
  • *
  • *

    * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

    *
  • *
  • *

    * DynamoDB for Amazon DynamoDB *

    *
  • *
  • *

    * EBS for Amazon Elastic Block Store *

    *
  • *
  • *

    * EC2 for Amazon Elastic Compute Cloud *

    *
  • *
  • *

    * EFS for Amazon Elastic File System *

    *
  • *
  • *

    * FSx for Amazon FSx *

    *
  • *
  • *

    * Neptune for Amazon Neptune *

    *
  • *
  • *

    * Redshift for Amazon Redshift *

    *
  • *
  • *

    * RDS for Amazon Relational Database Service *

    *
  • *
  • *

    * SAP HANA on Amazon EC2 for SAP HANA databases *

    *
  • *
  • *

    * Storage Gateway for Storage Gateway *

    *
  • *
  • *

    * S3 for Amazon S3 *

    *
  • *
  • *

    * Timestream for Amazon Timestream *

    *
  • *
  • *

    * VirtualMachine for virtual machines *

    *
  • *
* * @param byResourceType * Returns only backup jobs for the specified resources:

*
    *
  • *

    * Aurora for Amazon Aurora *

    *
  • *
  • *

    * CloudFormation for CloudFormation *

    *
  • *
  • *

    * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

    *
  • *
  • *

    * DynamoDB for Amazon DynamoDB *

    *
  • *
  • *

    * EBS for Amazon Elastic Block Store *

    *
  • *
  • *

    * EC2 for Amazon Elastic Compute Cloud *

    *
  • *
  • *

    * EFS for Amazon Elastic File System *

    *
  • *
  • *

    * FSx for Amazon FSx *

    *
  • *
  • *

    * Neptune for Amazon Neptune *

    *
  • *
  • *

    * Redshift for Amazon Redshift *

    *
  • *
  • *

    * RDS for Amazon Relational Database Service *

    *
  • *
  • *

    * SAP HANA on Amazon EC2 for SAP HANA databases *

    *
  • *
  • *

    * Storage Gateway for Storage Gateway *

    *
  • *
  • *

    * S3 for Amazon S3 *

    *
  • *
  • *

    * Timestream for Amazon Timestream *

    *
  • *
  • *

    * VirtualMachine for virtual machines *

    *
  • */ public void setByResourceType(String byResourceType) { this.byResourceType = byResourceType; } /** *

    * Returns only backup jobs for the specified resources: *

    *
      *
    • *

      * Aurora for Amazon Aurora *

      *
    • *
    • *

      * CloudFormation for CloudFormation *

      *
    • *
    • *

      * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

      *
    • *
    • *

      * DynamoDB for Amazon DynamoDB *

      *
    • *
    • *

      * EBS for Amazon Elastic Block Store *

      *
    • *
    • *

      * EC2 for Amazon Elastic Compute Cloud *

      *
    • *
    • *

      * EFS for Amazon Elastic File System *

      *
    • *
    • *

      * FSx for Amazon FSx *

      *
    • *
    • *

      * Neptune for Amazon Neptune *

      *
    • *
    • *

      * Redshift for Amazon Redshift *

      *
    • *
    • *

      * RDS for Amazon Relational Database Service *

      *
    • *
    • *

      * SAP HANA on Amazon EC2 for SAP HANA databases *

      *
    • *
    • *

      * Storage Gateway for Storage Gateway *

      *
    • *
    • *

      * S3 for Amazon S3 *

      *
    • *
    • *

      * Timestream for Amazon Timestream *

      *
    • *
    • *

      * VirtualMachine for virtual machines *

      *
    • *
    * * @return Returns only backup jobs for the specified resources:

    *
      *
    • *

      * Aurora for Amazon Aurora *

      *
    • *
    • *

      * CloudFormation for CloudFormation *

      *
    • *
    • *

      * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

      *
    • *
    • *

      * DynamoDB for Amazon DynamoDB *

      *
    • *
    • *

      * EBS for Amazon Elastic Block Store *

      *
    • *
    • *

      * EC2 for Amazon Elastic Compute Cloud *

      *
    • *
    • *

      * EFS for Amazon Elastic File System *

      *
    • *
    • *

      * FSx for Amazon FSx *

      *
    • *
    • *

      * Neptune for Amazon Neptune *

      *
    • *
    • *

      * Redshift for Amazon Redshift *

      *
    • *
    • *

      * RDS for Amazon Relational Database Service *

      *
    • *
    • *

      * SAP HANA on Amazon EC2 for SAP HANA databases *

      *
    • *
    • *

      * Storage Gateway for Storage Gateway *

      *
    • *
    • *

      * S3 for Amazon S3 *

      *
    • *
    • *

      * Timestream for Amazon Timestream *

      *
    • *
    • *

      * VirtualMachine for virtual machines *

      *
    • */ public String getByResourceType() { return this.byResourceType; } /** *

      * Returns only backup jobs for the specified resources: *

      *
        *
      • *

        * Aurora for Amazon Aurora *

        *
      • *
      • *

        * CloudFormation for CloudFormation *

        *
      • *
      • *

        * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

        *
      • *
      • *

        * DynamoDB for Amazon DynamoDB *

        *
      • *
      • *

        * EBS for Amazon Elastic Block Store *

        *
      • *
      • *

        * EC2 for Amazon Elastic Compute Cloud *

        *
      • *
      • *

        * EFS for Amazon Elastic File System *

        *
      • *
      • *

        * FSx for Amazon FSx *

        *
      • *
      • *

        * Neptune for Amazon Neptune *

        *
      • *
      • *

        * Redshift for Amazon Redshift *

        *
      • *
      • *

        * RDS for Amazon Relational Database Service *

        *
      • *
      • *

        * SAP HANA on Amazon EC2 for SAP HANA databases *

        *
      • *
      • *

        * Storage Gateway for Storage Gateway *

        *
      • *
      • *

        * S3 for Amazon S3 *

        *
      • *
      • *

        * Timestream for Amazon Timestream *

        *
      • *
      • *

        * VirtualMachine for virtual machines *

        *
      • *
      * * @param byResourceType * Returns only backup jobs for the specified resources:

      *
        *
      • *

        * Aurora for Amazon Aurora *

        *
      • *
      • *

        * CloudFormation for CloudFormation *

        *
      • *
      • *

        * DocumentDB for Amazon DocumentDB (with MongoDB compatibility) *

        *
      • *
      • *

        * DynamoDB for Amazon DynamoDB *

        *
      • *
      • *

        * EBS for Amazon Elastic Block Store *

        *
      • *
      • *

        * EC2 for Amazon Elastic Compute Cloud *

        *
      • *
      • *

        * EFS for Amazon Elastic File System *

        *
      • *
      • *

        * FSx for Amazon FSx *

        *
      • *
      • *

        * Neptune for Amazon Neptune *

        *
      • *
      • *

        * Redshift for Amazon Redshift *

        *
      • *
      • *

        * RDS for Amazon Relational Database Service *

        *
      • *
      • *

        * SAP HANA on Amazon EC2 for SAP HANA databases *

        *
      • *
      • *

        * Storage Gateway for Storage Gateway *

        *
      • *
      • *

        * S3 for Amazon S3 *

        *
      • *
      • *

        * Timestream for Amazon Timestream *

        *
      • *
      • *

        * VirtualMachine for virtual machines *

        *
      • * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByResourceType(String byResourceType) { setByResourceType(byResourceType); return this; } /** *

        * An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. *

        * * @param byDestinationVaultArn * An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. */ public void setByDestinationVaultArn(String byDestinationVaultArn) { this.byDestinationVaultArn = byDestinationVaultArn; } /** *

        * An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. *

        * * @return An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. */ public String getByDestinationVaultArn() { return this.byDestinationVaultArn; } /** *

        * An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. *

        * * @param byDestinationVaultArn * An Amazon Resource Name (ARN) that uniquely identifies a source backup vault to copy from; for example, * arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByDestinationVaultArn(String byDestinationVaultArn) { setByDestinationVaultArn(byDestinationVaultArn); return this; } /** *

        * The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID. *

        * * @param byAccountId * The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID. */ public void setByAccountId(String byAccountId) { this.byAccountId = byAccountId; } /** *

        * The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID. *

        * * @return The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID. */ public String getByAccountId() { return this.byAccountId; } /** *

        * The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID. *

        * * @param byAccountId * The account ID to list the jobs from. Returns only copy jobs associated with the specified account ID. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByAccountId(String byAccountId) { setByAccountId(byAccountId); return this; } /** *

        * Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC). *

        * * @param byCompleteBefore * Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time * (UTC). */ public void setByCompleteBefore(java.util.Date byCompleteBefore) { this.byCompleteBefore = byCompleteBefore; } /** *

        * Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC). *

        * * @return Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time * (UTC). */ public java.util.Date getByCompleteBefore() { return this.byCompleteBefore; } /** *

        * Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time (UTC). *

        * * @param byCompleteBefore * Returns only copy jobs completed before a date expressed in Unix format and Coordinated Universal Time * (UTC). * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByCompleteBefore(java.util.Date byCompleteBefore) { setByCompleteBefore(byCompleteBefore); return this; } /** *

        * Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC). *

        * * @param byCompleteAfter * Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time * (UTC). */ public void setByCompleteAfter(java.util.Date byCompleteAfter) { this.byCompleteAfter = byCompleteAfter; } /** *

        * Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC). *

        * * @return Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time * (UTC). */ public java.util.Date getByCompleteAfter() { return this.byCompleteAfter; } /** *

        * Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time (UTC). *

        * * @param byCompleteAfter * Returns only copy jobs completed after a date expressed in Unix format and Coordinated Universal Time * (UTC). * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByCompleteAfter(java.util.Date byCompleteAfter) { setByCompleteAfter(byCompleteAfter); return this; } /** *

        * This is a filter to list child (nested) jobs based on parent job ID. *

        * * @param byParentJobId * This is a filter to list child (nested) jobs based on parent job ID. */ public void setByParentJobId(String byParentJobId) { this.byParentJobId = byParentJobId; } /** *

        * This is a filter to list child (nested) jobs based on parent job ID. *

        * * @return This is a filter to list child (nested) jobs based on parent job ID. */ public String getByParentJobId() { return this.byParentJobId; } /** *

        * This is a filter to list child (nested) jobs based on parent job ID. *

        * * @param byParentJobId * This is a filter to list child (nested) jobs based on parent job ID. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByParentJobId(String byParentJobId) { setByParentJobId(byParentJobId); return this; } /** *

        * This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches the value * you input. *

        *

        * Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and * INVALIDPARAMETERS. *

        *

        * View Monitoring for a list * of accepted strings. *

        *

        * The the value ANY returns count of all message categories. *

        *

        * AGGREGATE_ALL aggregates job counts for all message categories and returns the sum. *

        * * @param byMessageCategory * This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches the * value you input.

        *

        * Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, * and INVALIDPARAMETERS. *

        *

        * View Monitoring for a * list of accepted strings. *

        *

        * The the value ANY returns count of all message categories. *

        *

        * AGGREGATE_ALL aggregates job counts for all message categories and returns the sum. */ public void setByMessageCategory(String byMessageCategory) { this.byMessageCategory = byMessageCategory; } /** *

        * This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches the value * you input. *

        *

        * Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and * INVALIDPARAMETERS. *

        *

        * View Monitoring for a list * of accepted strings. *

        *

        * The the value ANY returns count of all message categories. *

        *

        * AGGREGATE_ALL aggregates job counts for all message categories and returns the sum. *

        * * @return This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches * the value you input.

        *

        * Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, * and INVALIDPARAMETERS. *

        *

        * View Monitoring for * a list of accepted strings. *

        *

        * The the value ANY returns count of all message categories. *

        *

        * AGGREGATE_ALL aggregates job counts for all message categories and returns the sum. */ public String getByMessageCategory() { return this.byMessageCategory; } /** *

        * This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches the value * you input. *

        *

        * Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, and * INVALIDPARAMETERS. *

        *

        * View Monitoring for a list * of accepted strings. *

        *

        * The the value ANY returns count of all message categories. *

        *

        * AGGREGATE_ALL aggregates job counts for all message categories and returns the sum. *

        * * @param byMessageCategory * This is an optional parameter that can be used to filter out jobs with a MessageCategory which matches the * value you input.

        *

        * Example strings may include AccessDenied, SUCCESS, AGGREGATE_ALL, * and INVALIDPARAMETERS. *

        *

        * View Monitoring for a * list of accepted strings. *

        *

        * The the value ANY returns count of all message categories. *

        *

        * AGGREGATE_ALL aggregates job counts for all message categories and returns the sum. * @return Returns a reference to this object so that method calls can be chained together. */ public ListCopyJobsRequest withByMessageCategory(String byMessageCategory) { setByMessageCategory(byMessageCategory); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getNextToken() != null) sb.append("NextToken: ").append(getNextToken()).append(","); if (getMaxResults() != null) sb.append("MaxResults: ").append(getMaxResults()).append(","); if (getByResourceArn() != null) sb.append("ByResourceArn: ").append(getByResourceArn()).append(","); if (getByState() != null) sb.append("ByState: ").append(getByState()).append(","); if (getByCreatedBefore() != null) sb.append("ByCreatedBefore: ").append(getByCreatedBefore()).append(","); if (getByCreatedAfter() != null) sb.append("ByCreatedAfter: ").append(getByCreatedAfter()).append(","); if (getByResourceType() != null) sb.append("ByResourceType: ").append(getByResourceType()).append(","); if (getByDestinationVaultArn() != null) sb.append("ByDestinationVaultArn: ").append(getByDestinationVaultArn()).append(","); if (getByAccountId() != null) sb.append("ByAccountId: ").append(getByAccountId()).append(","); if (getByCompleteBefore() != null) sb.append("ByCompleteBefore: ").append(getByCompleteBefore()).append(","); if (getByCompleteAfter() != null) sb.append("ByCompleteAfter: ").append(getByCompleteAfter()).append(","); if (getByParentJobId() != null) sb.append("ByParentJobId: ").append(getByParentJobId()).append(","); if (getByMessageCategory() != null) sb.append("ByMessageCategory: ").append(getByMessageCategory()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ListCopyJobsRequest == false) return false; ListCopyJobsRequest other = (ListCopyJobsRequest) obj; if (other.getNextToken() == null ^ this.getNextToken() == null) return false; if (other.getNextToken() != null && other.getNextToken().equals(this.getNextToken()) == false) return false; if (other.getMaxResults() == null ^ this.getMaxResults() == null) return false; if (other.getMaxResults() != null && other.getMaxResults().equals(this.getMaxResults()) == false) return false; if (other.getByResourceArn() == null ^ this.getByResourceArn() == null) return false; if (other.getByResourceArn() != null && other.getByResourceArn().equals(this.getByResourceArn()) == false) return false; if (other.getByState() == null ^ this.getByState() == null) return false; if (other.getByState() != null && other.getByState().equals(this.getByState()) == false) return false; if (other.getByCreatedBefore() == null ^ this.getByCreatedBefore() == null) return false; if (other.getByCreatedBefore() != null && other.getByCreatedBefore().equals(this.getByCreatedBefore()) == false) return false; if (other.getByCreatedAfter() == null ^ this.getByCreatedAfter() == null) return false; if (other.getByCreatedAfter() != null && other.getByCreatedAfter().equals(this.getByCreatedAfter()) == false) return false; if (other.getByResourceType() == null ^ this.getByResourceType() == null) return false; if (other.getByResourceType() != null && other.getByResourceType().equals(this.getByResourceType()) == false) return false; if (other.getByDestinationVaultArn() == null ^ this.getByDestinationVaultArn() == null) return false; if (other.getByDestinationVaultArn() != null && other.getByDestinationVaultArn().equals(this.getByDestinationVaultArn()) == false) return false; if (other.getByAccountId() == null ^ this.getByAccountId() == null) return false; if (other.getByAccountId() != null && other.getByAccountId().equals(this.getByAccountId()) == false) return false; if (other.getByCompleteBefore() == null ^ this.getByCompleteBefore() == null) return false; if (other.getByCompleteBefore() != null && other.getByCompleteBefore().equals(this.getByCompleteBefore()) == false) return false; if (other.getByCompleteAfter() == null ^ this.getByCompleteAfter() == null) return false; if (other.getByCompleteAfter() != null && other.getByCompleteAfter().equals(this.getByCompleteAfter()) == false) return false; if (other.getByParentJobId() == null ^ this.getByParentJobId() == null) return false; if (other.getByParentJobId() != null && other.getByParentJobId().equals(this.getByParentJobId()) == false) return false; if (other.getByMessageCategory() == null ^ this.getByMessageCategory() == null) return false; if (other.getByMessageCategory() != null && other.getByMessageCategory().equals(this.getByMessageCategory()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getNextToken() == null) ? 0 : getNextToken().hashCode()); hashCode = prime * hashCode + ((getMaxResults() == null) ? 0 : getMaxResults().hashCode()); hashCode = prime * hashCode + ((getByResourceArn() == null) ? 0 : getByResourceArn().hashCode()); hashCode = prime * hashCode + ((getByState() == null) ? 0 : getByState().hashCode()); hashCode = prime * hashCode + ((getByCreatedBefore() == null) ? 0 : getByCreatedBefore().hashCode()); hashCode = prime * hashCode + ((getByCreatedAfter() == null) ? 0 : getByCreatedAfter().hashCode()); hashCode = prime * hashCode + ((getByResourceType() == null) ? 0 : getByResourceType().hashCode()); hashCode = prime * hashCode + ((getByDestinationVaultArn() == null) ? 0 : getByDestinationVaultArn().hashCode()); hashCode = prime * hashCode + ((getByAccountId() == null) ? 0 : getByAccountId().hashCode()); hashCode = prime * hashCode + ((getByCompleteBefore() == null) ? 0 : getByCompleteBefore().hashCode()); hashCode = prime * hashCode + ((getByCompleteAfter() == null) ? 0 : getByCompleteAfter().hashCode()); hashCode = prime * hashCode + ((getByParentJobId() == null) ? 0 : getByParentJobId().hashCode()); hashCode = prime * hashCode + ((getByMessageCategory() == null) ? 0 : getByMessageCategory().hashCode()); return hashCode; } @Override public ListCopyJobsRequest clone() { return (ListCopyJobsRequest) super.clone(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy