Class PlacementPolicyProperties

    • Constructor Detail

      • PlacementPolicyProperties

        public PlacementPolicyProperties()
    • Method Detail

      • state

        public PlacementPolicyState state()
        Get the state property: Whether the placement policy is enabled or disabled.
        Returns:
        the state value.
      • withState

        public PlacementPolicyProperties withState​(PlacementPolicyState state)
        Set the state property: Whether the placement policy is enabled or disabled.
        Parameters:
        state - the state value to set.
        Returns:
        the PlacementPolicyProperties object itself.
      • displayName

        public String displayName()
        Get the displayName property: Display name of the placement policy.
        Returns:
        the displayName value.
      • withDisplayName

        public PlacementPolicyProperties withDisplayName​(String displayName)
        Set the displayName property: Display name of the placement policy.
        Parameters:
        displayName - the displayName value to set.
        Returns:
        the PlacementPolicyProperties object itself.
      • provisioningState

        public PlacementPolicyProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state.
        Returns:
        the provisioningState value.
      • validate

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