Class RegionalSharingStatus


  • public final class RegionalSharingStatus
    extends Object
    Gallery regional sharing status.
    • Constructor Detail

      • RegionalSharingStatus

        public RegionalSharingStatus()
    • Method Detail

      • region

        public String region()
        Get the region property: Region name.
        Returns:
        the region value.
      • withRegion

        public RegionalSharingStatus withRegion​(String region)
        Set the region property: Region name.
        Parameters:
        region - the region value to set.
        Returns:
        the RegionalSharingStatus object itself.
      • state

        public SharingState state()
        Get the state property: The sharing state of the gallery. Gallery sharing state in current region.
        Returns:
        the state value.
      • details

        public String details()
        Get the details property: Details of gallery regional sharing failure.
        Returns:
        the details value.
      • withDetails

        public RegionalSharingStatus withDetails​(String details)
        Set the details property: Details of gallery regional sharing failure.
        Parameters:
        details - the details value to set.
        Returns:
        the RegionalSharingStatus object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.