Class CreateRotationOverrideRequest

    • Method Detail

      • rotationId

        public final String rotationId()

        The Amazon Resource Name (ARN) of the rotation to create an override for.

        Returns:
        The Amazon Resource Name (ARN) of the rotation to create an override for.
      • hasNewContactIds

        public final boolean hasNewContactIds()
        For responses, this returns true if the service returned a value for the NewContactIds 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.
      • newContactIds

        public final List<String> newContactIds()

        The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.

        If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.

        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 hasNewContactIds() method.

        Returns:
        The Amazon Resource Names (ARNs) of the contacts to replace those in the current on-call rotation with.

        If you want to include any current team members in the override shift, you must include their ARNs in the new contact ID list.

      • startTime

        public final Instant startTime()

        The date and time when the override goes into effect.

        Returns:
        The date and time when the override goes into effect.
      • endTime

        public final Instant endTime()

        The date and time when the override ends.

        Returns:
        The date and time when the override ends.
      • idempotencyToken

        public final String idempotencyToken()

        A token that ensures that the operation is called only once with the specified details.

        Returns:
        A token that ensures that the operation is called only once with the specified details.
      • 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