/* * Copyright 2018-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.managedblockchain.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 CreateAccessorRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An * idempotent operation completes no more than once. This identifier is required only if you make a service request * directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon * Web Services CLI. *
*/ private String clientRequestToken; /** ** The type of accessor. *
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* Tags to assign to the Accessor. *
** Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request * with an overall maximum of 50 tags allowed per resource. *
** For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. *
*/ private java.util.Map* This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An * idempotent operation completes no more than once. This identifier is required only if you make a service request * directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon * Web Services CLI. *
* * @param clientRequestToken * This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. * An idempotent operation completes no more than once. This identifier is required only if you make a * service request directly using an HTTP client. It is generated automatically if you use an Amazon Web * Services SDK or the Amazon Web Services CLI. */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** ** This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An * idempotent operation completes no more than once. This identifier is required only if you make a service request * directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon * Web Services CLI. *
* * @return This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. * An idempotent operation completes no more than once. This identifier is required only if you make a * service request directly using an HTTP client. It is generated automatically if you use an Amazon Web * Services SDK or the Amazon Web Services CLI. */ public String getClientRequestToken() { return this.clientRequestToken; } /** ** This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An * idempotent operation completes no more than once. This identifier is required only if you make a service request * directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon * Web Services CLI. *
* * @param clientRequestToken * This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. * An idempotent operation completes no more than once. This identifier is required only if you make a * service request directly using an HTTP client. It is generated automatically if you use an Amazon Web * Services SDK or the Amazon Web Services CLI. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateAccessorRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** ** The type of accessor. *
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* The type of accessor. *
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* The type of accessor. *
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* The type of accessor. *
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* Currently, accessor type is restricted to BILLING_TOKEN
.
*
* Tags to assign to the Accessor. *
** Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request * with an overall maximum of 50 tags allowed per resource. *
** For more information about tags, see Tagging * Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide. *
* * @return Tags to assign to the Accessor. ** Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single * request with an overall maximum of 50 tags allowed per resource. *
*
* For more information about tags, see Tagging
* Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*/
public java.util.Map
* Tags to assign to the Accessor.
*
* Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request
* with an overall maximum of 50 tags allowed per resource.
*
* For more information about tags, see Tagging
* Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*
* Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single * request with an overall maximum of 50 tags allowed per resource. *
*
* For more information about tags, see Tagging
* Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*/
public void setTags(java.util.Map
* Tags to assign to the Accessor.
*
* Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request
* with an overall maximum of 50 tags allowed per resource.
*
* For more information about tags, see Tagging
* Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
*
* Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single * request with an overall maximum of 50 tags allowed per resource. *
*
* For more information about tags, see Tagging
* Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateAccessorRequest withTags(java.util.Map