public static class CreateHttpRedirectDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateHttpRedirectDetails.Builder compartmentId(String compartmentId)
The OCID of the HTTP Redirects compartment.
compartmentId
- the value to setpublic CreateHttpRedirectDetails.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 CreateHttpRedirectDetails.Builder domain(String domain)
The domain from which traffic will be redirected.
domain
- the value to setpublic CreateHttpRedirectDetails.Builder target(HttpRedirectTarget target)
The redirect target object including all the redirect data.
target
- the value to setpublic CreateHttpRedirectDetails.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 CreateHttpRedirectDetails.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 CreateHttpRedirectDetails.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 CreateHttpRedirectDetails build()
public CreateHttpRedirectDetails.Builder copy(CreateHttpRedirectDetails model)
Copyright © 2016–2024. All rights reserved.