| Modifier and Type | Method and Description |
|---|---|
HttpStop.Builder |
applicationId(UUID applicationId)
Initializes the value for the
applicationId attribute. |
HttpStop |
build()
Builds a new
HttpStop. |
HttpStop.Builder |
contentLength(Long contentLength)
Initializes the value for the
contentLength attribute. |
HttpStop.Builder |
from(HttpStop instance)
Fill a builder with attribute values from the provided
HttpStop instance. |
HttpStop.Builder |
peerType(PeerType peerType)
Initializes the value for the
peerType attribute. |
HttpStop.Builder |
requestId(UUID requestId)
Initializes the value for the
requestId attribute. |
HttpStop.Builder |
statusCode(Integer statusCode)
Initializes the value for the
statusCode attribute. |
HttpStop.Builder |
timestamp(Long timestamp)
Initializes the value for the
timestamp attribute. |
HttpStop.Builder |
uri(String uri)
Initializes the value for the
uri attribute. |
public final HttpStop.Builder from(HttpStop instance)
HttpStop instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final HttpStop.Builder applicationId(UUID applicationId)
applicationId attribute.applicationId - The value for applicationId (can be null)this builder for use in a chained invocationpublic final HttpStop.Builder contentLength(Long contentLength)
contentLength attribute.contentLength - The value for contentLengththis builder for use in a chained invocationpublic final HttpStop.Builder peerType(PeerType peerType)
peerType attribute.peerType - The value for peerTypethis builder for use in a chained invocationpublic final HttpStop.Builder requestId(UUID requestId)
requestId attribute.requestId - The value for requestIdthis builder for use in a chained invocationpublic final HttpStop.Builder statusCode(Integer statusCode)
statusCode attribute.statusCode - The value for statusCodethis builder for use in a chained invocationpublic final HttpStop.Builder timestamp(Long timestamp)
timestamp attribute.timestamp - The value for timestampthis builder for use in a chained invocationpublic final HttpStop.Builder uri(String uri)
uri attribute.uri - The value for urithis builder for use in a chained invocationpublic HttpStop build()
HttpStop.IllegalStateException - if any required attributes are missingCopyright © 2016 Pivotal Software, Inc.. All rights reserved.