org.apache.geode.cache.configuration

## Class RegionAttributesType.MembershipAttributes

- java.lang.Object
- - org.apache.geode.cache.configuration.RegionAttributesType.MembershipAttributes

- Enclosing class:
    RegionAttributesType

      public static class RegionAttributesType.MembershipAttributes
      extends java.lang.Object

  Java class for anonymous complex type.

  The following schema fragment specifies the expected content contained within this class.

       <complexType>
         <complexContent>
           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
             <sequence>
               <element name="required-role" maxOccurs="unbounded" minOccurs="0">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
             </sequence>
             <attribute name="loss-action">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <enumeration value="full-access"/>
                   <enumeration value="limited-access"/>
                   <enumeration value="no-access"/>
                   <enumeration value="reconnect"/>
                 </restriction>
               </simpleType>
             </attribute>
             <attribute name="resumption-action">
               <simpleType>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                   <enumeration value="none"/>
                   <enumeration value="reinitialize"/>
                 </restriction>
               </simpleType>
             </attribute>
           </restriction>
         </complexContent>
       </complexType>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `RegionAttributesType.MembershipAttributes.RequiredRole` Java class for anonymous complex type.

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected java.lang.String` | `lossAction`
    `protected java.util.List<RegionAttributesType.MembershipAttributes.RequiredRole>` | `requiredRole`
    `protected java.lang.String` | `resumptionAction`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `MembershipAttributes()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getLossAction()` Gets the value of the lossAction property.
    `java.util.List<RegionAttributesType.MembershipAttributes.RequiredRole>` | `getRequiredRole()` Gets the value of the requiredRole property.
    `java.lang.String` | `getResumptionAction()` Gets the value of the resumptionAction property.
    `void` | `setLossAction(java.lang.String value)` Sets the value of the lossAction property.
    `void` | `setResumptionAction(java.lang.String value)` Sets the value of the resumptionAction property.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### requiredRole

          protected java.util.List<RegionAttributesType.MembershipAttributes.RequiredRole> requiredRole

    - #### lossAction

          protected java.lang.String lossAction

    - #### resumptionAction

          protected java.lang.String resumptionAction

  - ### Constructor Detail

    - #### MembershipAttributes

          public MembershipAttributes()

  - ### Method Detail

    - #### getRequiredRole

          public java.util.List<RegionAttributesType.MembershipAttributes.RequiredRole> getRequiredRole()

      Gets the value of the requiredRole property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a `set` method for the requiredRole property.

      For example, to add a new item, do as follows:

           getRequiredRole().add(newItem);

      Objects of the following type(s) are allowed in the list `RegionAttributesType.MembershipAttributes.RequiredRole`

    - #### getLossAction

          public java.lang.String getLossAction()

      Gets the value of the lossAction property.
      Returns:
        possible object is `String`

    - #### setLossAction

          public void setLossAction(java.lang.String value)

      Sets the value of the lossAction property.
      Parameters:
        `value` - allowed object is `String`

    - #### getResumptionAction

          public java.lang.String getResumptionAction()

      Gets the value of the resumptionAction property.
      Returns:
        possible object is `String`

    - #### setResumptionAction

          public void setResumptionAction(java.lang.String value)

      Sets the value of the resumptionAction property.
      Parameters:
        `value` - allowed object is `String`