Class UpdateMonitorRequest

    • Method Detail

      • monitorName

        public final String monitorName()

        The name of the monitor.

        Returns:
        The name of the monitor.
      • hasLocalResourcesToAdd

        public final boolean hasLocalResourcesToAdd()
        For responses, this returns true if the service returned a value for the LocalResourcesToAdd property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • localResourcesToAdd

        public final List<MonitorLocalResource> localResourcesToAdd()

        The local resources to add, as an array of resources with identifiers and types.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasLocalResourcesToAdd() method.

        Returns:
        The local resources to add, as an array of resources with identifiers and types.
      • hasLocalResourcesToRemove

        public final boolean hasLocalResourcesToRemove()
        For responses, this returns true if the service returned a value for the LocalResourcesToRemove property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • localResourcesToRemove

        public final List<MonitorLocalResource> localResourcesToRemove()

        The local resources to remove, as an array of resources with identifiers and types.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasLocalResourcesToRemove() method.

        Returns:
        The local resources to remove, as an array of resources with identifiers and types.
      • hasRemoteResourcesToAdd

        public final boolean hasRemoteResourcesToAdd()
        For responses, this returns true if the service returned a value for the RemoteResourcesToAdd property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • remoteResourcesToAdd

        public final List<MonitorRemoteResource> remoteResourcesToAdd()

        The remove resources to add, as an array of resources with identifiers and types.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasRemoteResourcesToAdd() method.

        Returns:
        The remove resources to add, as an array of resources with identifiers and types.
      • hasRemoteResourcesToRemove

        public final boolean hasRemoteResourcesToRemove()
        For responses, this returns true if the service returned a value for the RemoteResourcesToRemove property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
      • remoteResourcesToRemove

        public final List<MonitorRemoteResource> remoteResourcesToRemove()

        The remove resources to remove, as an array of resources with identifiers and types.

        Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

        This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasRemoteResourcesToRemove() method.

        Returns:
        The remove resources to remove, as an array of resources with identifiers and types.
      • clientToken

        public final String clientToken()

        A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.

        Returns:
        A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object