| Modifier and Type | Method and Description |
|---|---|
HttpStart.Builder |
applicationId(UUID applicationId)
Initializes the value for the
applicationId attribute. |
HttpStart |
build()
Builds a new
HttpStart. |
HttpStart.Builder |
from(HttpStart instance)
Fill a builder with attribute values from the provided
HttpStart instance. |
HttpStart.Builder |
instanceId(String instanceId)
Initializes the value for the
instanceId attribute. |
HttpStart.Builder |
instanceIndex(Integer instanceIndex)
Initializes the value for the
instanceIndex attribute. |
HttpStart.Builder |
method(Method method)
Initializes the value for the
method attribute. |
HttpStart.Builder |
parentRequestId(UUID parentRequestId)
Initializes the value for the
parentRequestId attribute. |
HttpStart.Builder |
peerType(PeerType peerType)
Initializes the value for the
peerType attribute. |
HttpStart.Builder |
remoteAddress(String remoteAddress)
Initializes the value for the
remoteAddress attribute. |
HttpStart.Builder |
requestId(UUID requestId)
Initializes the value for the
requestId attribute. |
HttpStart.Builder |
timestamp(Long timestamp)
Initializes the value for the
timestamp attribute. |
HttpStart.Builder |
uri(String uri)
Initializes the value for the
uri attribute. |
HttpStart.Builder |
userAgent(String userAgent)
Initializes the value for the
userAgent attribute. |
public final HttpStart.Builder from(HttpStart instance)
HttpStart 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 HttpStart.Builder applicationId(UUID applicationId)
applicationId attribute.applicationId - The value for applicationId (can be null)this builder for use in a chained invocationpublic final HttpStart.Builder instanceId(String instanceId)
instanceId attribute.instanceId - The value for instanceId (can be null)this builder for use in a chained invocationpublic final HttpStart.Builder instanceIndex(Integer instanceIndex)
instanceIndex attribute.instanceIndex - The value for instanceIndex (can be null)this builder for use in a chained invocationpublic final HttpStart.Builder method(Method method)
method attribute.method - The value for methodthis builder for use in a chained invocationpublic final HttpStart.Builder parentRequestId(UUID parentRequestId)
parentRequestId attribute.parentRequestId - The value for parentRequestId (can be null)this builder for use in a chained invocationpublic final HttpStart.Builder peerType(PeerType peerType)
peerType attribute.peerType - The value for peerTypethis builder for use in a chained invocationpublic final HttpStart.Builder remoteAddress(String remoteAddress)
remoteAddress attribute.remoteAddress - The value for remoteAddressthis builder for use in a chained invocationpublic final HttpStart.Builder requestId(UUID requestId)
requestId attribute.requestId - The value for requestIdthis builder for use in a chained invocationpublic final HttpStart.Builder timestamp(Long timestamp)
timestamp attribute.timestamp - The value for timestampthis builder for use in a chained invocationpublic final HttpStart.Builder uri(String uri)
uri attribute.uri - The value for urithis builder for use in a chained invocationpublic final HttpStart.Builder userAgent(String userAgent)
userAgent attribute.userAgent - The value for userAgentthis builder for use in a chained invocationpublic HttpStart build()
HttpStart.IllegalStateException - if any required attributes are missingCopyright © 2016 Pivotal Software, Inc.. All rights reserved.