/* * 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.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An IPV6 CIDR block association. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Ipv6CidrBlockAssociation implements Serializable, Cloneable, StructuredPojo { /** ** The association ID for the IPv6 CIDR block. *
*/ private String associationId; /** ** The IPv6 CIDR block. *
*/ private String ipv6CidrBlock; /** ** Information about the state of the CIDR block. Valid values are as follows: *
*
* associating
*
* associated
*
* disassociating
*
* disassociated
*
* failed
*
* failing
*
* The association ID for the IPv6 CIDR block. *
* * @param associationId * The association ID for the IPv6 CIDR block. */ public void setAssociationId(String associationId) { this.associationId = associationId; } /** ** The association ID for the IPv6 CIDR block. *
* * @return The association ID for the IPv6 CIDR block. */ public String getAssociationId() { return this.associationId; } /** ** The association ID for the IPv6 CIDR block. *
* * @param associationId * The association ID for the IPv6 CIDR block. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipv6CidrBlockAssociation withAssociationId(String associationId) { setAssociationId(associationId); return this; } /** ** The IPv6 CIDR block. *
* * @param ipv6CidrBlock * The IPv6 CIDR block. */ public void setIpv6CidrBlock(String ipv6CidrBlock) { this.ipv6CidrBlock = ipv6CidrBlock; } /** ** The IPv6 CIDR block. *
* * @return The IPv6 CIDR block. */ public String getIpv6CidrBlock() { return this.ipv6CidrBlock; } /** ** The IPv6 CIDR block. *
* * @param ipv6CidrBlock * The IPv6 CIDR block. * @return Returns a reference to this object so that method calls can be chained together. */ public Ipv6CidrBlockAssociation withIpv6CidrBlock(String ipv6CidrBlock) { setIpv6CidrBlock(ipv6CidrBlock); return this; } /** ** Information about the state of the CIDR block. Valid values are as follows: *
*
* associating
*
* associated
*
* disassociating
*
* disassociated
*
* failed
*
* failing
*
* associating
*
* associated
*
* disassociating
*
* disassociated
*
* failed
*
* failing
*
* Information about the state of the CIDR block. Valid values are as follows: *
*
* associating
*
* associated
*
* disassociating
*
* disassociated
*
* failed
*
* failing
*
* associating
*
* associated
*
* disassociating
*
* disassociated
*
* failed
*
* failing
*
* Information about the state of the CIDR block. Valid values are as follows: *
*
* associating
*
* associated
*
* disassociating
*
* disassociated
*
* failed
*
* failing
*
* associating
*
* associated
*
* disassociating
*
* disassociated
*
* failed
*
* failing
*