Interface WorldFailure.Builder

    • Method Detail

      • failureCode

        WorldFailure.Builder failureCode​(String failureCode)

        The failure code of the world export job if it failed:

        InternalServiceError

        Internal service error.

        LimitExceeded

        The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

        ResourceNotFound

        The specified resource could not be found.

        RequestThrottled

        The request was throttled.

        InvalidInput

        An input parameter in the request is not valid.

        Parameters:
        failureCode - The failure code of the world export job if it failed:

        InternalServiceError

        Internal service error.

        LimitExceeded

        The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

        ResourceNotFound

        The specified resource could not be found.

        RequestThrottled

        The request was throttled.

        InvalidInput

        An input parameter in the request is not valid.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WorldGenerationJobErrorCode, WorldGenerationJobErrorCode
      • failureCode

        WorldFailure.Builder failureCode​(WorldGenerationJobErrorCode failureCode)

        The failure code of the world export job if it failed:

        InternalServiceError

        Internal service error.

        LimitExceeded

        The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

        ResourceNotFound

        The specified resource could not be found.

        RequestThrottled

        The request was throttled.

        InvalidInput

        An input parameter in the request is not valid.

        Parameters:
        failureCode - The failure code of the world export job if it failed:

        InternalServiceError

        Internal service error.

        LimitExceeded

        The requested resource exceeds the maximum number allowed, or the number of concurrent stream requests exceeds the maximum number allowed.

        ResourceNotFound

        The specified resource could not be found.

        RequestThrottled

        The request was throttled.

        InvalidInput

        An input parameter in the request is not valid.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WorldGenerationJobErrorCode, WorldGenerationJobErrorCode
      • sampleFailureReason

        WorldFailure.Builder sampleFailureReason​(String sampleFailureReason)

        The sample reason why the world failed. World errors are aggregated. A sample is used as the sampleFailureReason.

        Parameters:
        sampleFailureReason - The sample reason why the world failed. World errors are aggregated. A sample is used as the sampleFailureReason.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureCount

        WorldFailure.Builder failureCount​(Integer failureCount)

        The number of failed worlds.

        Parameters:
        failureCount - The number of failed worlds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.