/* * Copyright 2010-2023 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.translate.model; import java.io.Serializable; public class CreateParallelDataResult implements Serializable { /** *
* The custom name that you assigned to the parallel data resource. *
*
* Constraints:
* Length: 1 - 256
* Pattern: ^([A-Za-z0-9-]_?)+$
*/
private String name;
/**
*
* The status of the parallel data resource. When the resource is ready for
* you to use, the status is ACTIVE
.
*
* Constraints:
* Allowed Values: CREATING, UPDATING, ACTIVE, DELETING, FAILED
*/
private String status;
/**
*
* The custom name that you assigned to the parallel data resource. *
*
* Constraints:
* Length: 1 - 256
* Pattern: ^([A-Za-z0-9-]_?)+$
*
* @return
* The custom name that you assigned to the parallel data resource. *
*/ public String getName() { return name; } /** ** The custom name that you assigned to the parallel data resource. *
*
* Constraints:
* Length: 1 - 256
* Pattern: ^([A-Za-z0-9-]_?)+$
*
* @param name
* The custom name that you assigned to the parallel data * resource. *
*/ public void setName(String name) { this.name = name; } /** ** The custom name that you assigned to the parallel data resource. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 256
* Pattern: ^([A-Za-z0-9-]_?)+$
*
* @param name
* The custom name that you assigned to the parallel data * resource. *
* @return A reference to this updated object so that method calls can be * chained together. */ public CreateParallelDataResult withName(String name) { this.name = name; return this; } /** *
* The status of the parallel data resource. When the resource is ready for
* you to use, the status is ACTIVE
.
*
* Constraints:
* Allowed Values: CREATING, UPDATING, ACTIVE, DELETING, FAILED
*
* @return
* The status of the parallel data resource. When the resource is
* ready for you to use, the status is ACTIVE
.
*
* The status of the parallel data resource. When the resource is ready for
* you to use, the status is ACTIVE
.
*
* Constraints:
* Allowed Values: CREATING, UPDATING, ACTIVE, DELETING, FAILED
*
* @param status
* The status of the parallel data resource. When the resource is
* ready for you to use, the status is ACTIVE
.
*
* The status of the parallel data resource. When the resource is ready for
* you to use, the status is ACTIVE
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: CREATING, UPDATING, ACTIVE, DELETING, FAILED
*
* @param status
* The status of the parallel data resource. When the resource is
* ready for you to use, the status is ACTIVE
.
*
* The status of the parallel data resource. When the resource is ready for
* you to use, the status is ACTIVE
.
*
* Constraints:
* Allowed Values: CREATING, UPDATING, ACTIVE, DELETING, FAILED
*
* @param status
* The status of the parallel data resource. When the resource is
* ready for you to use, the status is ACTIVE
.
*
* The status of the parallel data resource. When the resource is ready for
* you to use, the status is ACTIVE
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: CREATING, UPDATING, ACTIVE, DELETING, FAILED
*
* @param status
* The status of the parallel data resource. When the resource is
* ready for you to use, the status is ACTIVE
.
*