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>` | `requiredRoles`
    `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>` | `getRequiredRoles()` 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

    - #### requiredRoles

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

    - #### lossAction

          protected java.lang.String lossAction

    - #### resumptionAction

          protected java.lang.String resumptionAction

  - ### Constructor Detail

    - #### MembershipAttributes

          public MembershipAttributes()

  - ### Method Detail

    - #### getRequiredRoles

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

      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:

           getRequiredRoles().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. possible object is `String`

    - #### setLossAction

          public void setLossAction(java.lang.String value)

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

    - #### getResumptionAction

          public java.lang.String getResumptionAction()

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

    - #### setResumptionAction

          public void setResumptionAction(java.lang.String value)

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