Class ResponseContext.Builder
- java.lang.Object
-
- com.ibm.cloud.platform_services.iam_identity.v1.model.ResponseContext.Builder
-
- Enclosing class:
- ResponseContext
public static class ResponseContext.Builder extends java.lang.Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseContext
build()
Builds a ResponseContext.ResponseContext.Builder
clusterName(java.lang.String clusterName)
Set the clusterName.ResponseContext.Builder
elapsedTime(java.lang.String elapsedTime)
Set the elapsedTime.ResponseContext.Builder
endTime(java.lang.String endTime)
Set the endTime.ResponseContext.Builder
host(java.lang.String host)
Set the host.ResponseContext.Builder
instanceId(java.lang.String instanceId)
Set the instanceId.ResponseContext.Builder
operation(java.lang.String operation)
Set the operation.ResponseContext.Builder
startTime(java.lang.String startTime)
Set the startTime.ResponseContext.Builder
threadId(java.lang.String threadId)
Set the threadId.ResponseContext.Builder
transactionId(java.lang.String transactionId)
Set the transactionId.ResponseContext.Builder
url(java.lang.String url)
Set the url.ResponseContext.Builder
userAgent(java.lang.String userAgent)
Set the userAgent.
-
-
-
Method Detail
-
build
public ResponseContext build()
Builds a ResponseContext.- Returns:
- the new ResponseContext instance
-
transactionId
public ResponseContext.Builder transactionId(java.lang.String transactionId)
Set the transactionId.- Parameters:
transactionId
- the transactionId- Returns:
- the ResponseContext builder
-
operation
public ResponseContext.Builder operation(java.lang.String operation)
Set the operation.- Parameters:
operation
- the operation- Returns:
- the ResponseContext builder
-
userAgent
public ResponseContext.Builder userAgent(java.lang.String userAgent)
Set the userAgent.- Parameters:
userAgent
- the userAgent- Returns:
- the ResponseContext builder
-
url
public ResponseContext.Builder url(java.lang.String url)
Set the url.- Parameters:
url
- the url- Returns:
- the ResponseContext builder
-
instanceId
public ResponseContext.Builder instanceId(java.lang.String instanceId)
Set the instanceId.- Parameters:
instanceId
- the instanceId- Returns:
- the ResponseContext builder
-
threadId
public ResponseContext.Builder threadId(java.lang.String threadId)
Set the threadId.- Parameters:
threadId
- the threadId- Returns:
- the ResponseContext builder
-
host
public ResponseContext.Builder host(java.lang.String host)
Set the host.- Parameters:
host
- the host- Returns:
- the ResponseContext builder
-
startTime
public ResponseContext.Builder startTime(java.lang.String startTime)
Set the startTime.- Parameters:
startTime
- the startTime- Returns:
- the ResponseContext builder
-
endTime
public ResponseContext.Builder endTime(java.lang.String endTime)
Set the endTime.- Parameters:
endTime
- the endTime- Returns:
- the ResponseContext builder
-
elapsedTime
public ResponseContext.Builder elapsedTime(java.lang.String elapsedTime)
Set the elapsedTime.- Parameters:
elapsedTime
- the elapsedTime- Returns:
- the ResponseContext builder
-
clusterName
public ResponseContext.Builder clusterName(java.lang.String clusterName)
Set the clusterName.- Parameters:
clusterName
- the clusterName- Returns:
- the ResponseContext builder
-
-