/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* A summary of configuration properties for a member. *

*

* Applies only to Hyperledger Fabric. *

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

* The unique identifier of the member. *

*/ private String id; /** *

* The name of the member. *

*/ private String name; /** *

* An optional description of the member. *

*/ private String description; /** *

* The status of the member. *

* */ private String status; /** *

* The date and time that the member was created. *

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

* An indicator of whether the member is owned by your Amazon Web Services account or a different Amazon Web * Services account. *

*/ private Boolean isOwned; /** *

* The Amazon Resource Name (ARN) of the member. For more information about ARNs and their format, see Amazon Resource Names * (ARNs) in the Amazon Web Services General Reference. *

*/ private String arn; /** *

* The unique identifier of the member. *

* * @param id * The unique identifier of the member. */ public void setId(String id) { this.id = id; } /** *

* The unique identifier of the member. *

* * @return The unique identifier of the member. */ public String getId() { return this.id; } /** *

* The unique identifier of the member. *

* * @param id * The unique identifier of the member. * @return Returns a reference to this object so that method calls can be chained together. */ public MemberSummary withId(String id) { setId(id); return this; } /** *

* The name of the member. *

* * @param name * The name of the member. */ public void setName(String name) { this.name = name; } /** *

* The name of the member. *

* * @return The name of the member. */ public String getName() { return this.name; } /** *

* The name of the member. *

* * @param name * The name of the member. * @return Returns a reference to this object so that method calls can be chained together. */ public MemberSummary withName(String name) { setName(name); return this; } /** *

* An optional description of the member. *

* * @param description * An optional description of the member. */ public void setDescription(String description) { this.description = description; } /** *

* An optional description of the member. *

* * @return An optional description of the member. */ public String getDescription() { return this.description; } /** *

* An optional description of the member. *

* * @param description * An optional description of the member. * @return Returns a reference to this object so that method calls can be chained together. */ public MemberSummary withDescription(String description) { setDescription(description); return this; } /** *

* The status of the member. *

* * * @param status * The status of the member.

*