public static class HttpRedirectSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
HttpRedirectSummary |
build() |
HttpRedirectSummary.Builder |
compartmentId(String compartmentId)
The OCID of the
HTTP Redirect’s compartment.
|
HttpRedirectSummary.Builder |
copy(HttpRedirectSummary model) |
HttpRedirectSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
HttpRedirectSummary.Builder |
displayName(String displayName)
The user-friendly name of the HTTP Redirect.
|
HttpRedirectSummary.Builder |
domain(String domain)
The domain from which traffic will be redirected.
|
HttpRedirectSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
HttpRedirectSummary.Builder |
id(String id)
The OCID of the
HTTP Redirect.
|
HttpRedirectSummary.Builder |
lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the HTTP Redirect.
|
HttpRedirectSummary.Builder |
responseCode(Integer responseCode)
The response code returned for the redirect to the client.
|
HttpRedirectSummary.Builder |
target(HttpRedirectTarget target)
The redirect target object including all the redirect data.
|
HttpRedirectSummary.Builder |
timeCreated(Date timeCreated)
The date and time the policy was created, expressed in RFC 3339 timestamp format.
|
public HttpRedirectSummary.Builder id(String id)
The OCID of the HTTP Redirect.
id
- the value to setpublic HttpRedirectSummary.Builder compartmentId(String compartmentId)
The OCID of the HTTP Redirect’s compartment.
compartmentId
- the value to setpublic HttpRedirectSummary.Builder displayName(String displayName)
The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.
displayName
- the value to setpublic HttpRedirectSummary.Builder domain(String domain)
The domain from which traffic will be redirected.
domain
- the value to setpublic HttpRedirectSummary.Builder target(HttpRedirectTarget target)
The redirect target object including all the redirect data.
target
- the value to setpublic HttpRedirectSummary.Builder responseCode(Integer responseCode)
The response code returned for the redirect to the client. For more information, see RFC 7231.
responseCode
- the value to setpublic HttpRedirectSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the HTTP Redirect.
lifecycleState
- the value to setpublic HttpRedirectSummary.Builder timeCreated(Date timeCreated)
The date and time the policy was created, expressed in RFC 3339 timestamp format.
timeCreated
- the value to setpublic HttpRedirectSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
freeformTags
- the value to setpublic HttpRedirectSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic HttpRedirectSummary build()
public HttpRedirectSummary.Builder copy(HttpRedirectSummary model)
Copyright © 2016–2024. All rights reserved.