Class CreateRouteResponse

    • Method Detail

      • applicationId

        public final String applicationId()

        The ID of the application in which the route is created.

        Returns:
        The ID of the application in which the route is created.
      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

        Returns:
        The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
      • createdByAccountId

        public final String createdByAccountId()

        The Amazon Web Services account ID of the route creator.

        Returns:
        The Amazon Web Services account ID of the route creator.
      • createdTime

        public final Instant createdTime()

        A timestamp that indicates when the route is created.

        Returns:
        A timestamp that indicates when the route is created.
      • lastUpdatedTime

        public final Instant lastUpdatedTime()

        A timestamp that indicates when the route was last updated.

        Returns:
        A timestamp that indicates when the route was last updated.
      • ownerAccountId

        public final String ownerAccountId()

        The Amazon Web Services account ID of the route owner.

        Returns:
        The Amazon Web Services account ID of the route owner.
      • routeId

        public final String routeId()

        The unique identifier of the route.

        Returns:
        The unique identifier of the route.
      • serviceId

        public final String serviceId()

        The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.

        Returns:
        The ID of service in which the route is created. Traffic that matches this route is forwarded to this service.
      • state

        public final RouteState state()

        The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.

        If the service returns an enum value that is not available in the current SDK version, state will return RouteState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

        Returns:
        The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
        See Also:
        RouteState
      • stateAsString

        public final String stateAsString()

        The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.

        If the service returns an enum value that is not available in the current SDK version, state will return RouteState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stateAsString().

        Returns:
        The current state of the route. Activation state only allows ACTIVE or INACTIVE as user inputs. FAILED is a route state that is system generated.
        See Also:
        RouteState
      • hasTags

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

        public final Map<String,​String> tags()

        The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

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

        Returns:
        The tags assigned to the created route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.
      • uriPathRoute

        public final UriPathRouteInput uriPathRoute()

        Configuration for the URI path route type.

        Returns:
        Configuration for the URI path route type.
      • 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