public static class ServiceEnvironment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ServiceEnvironment |
build() |
ServiceEnvironment.Builder |
compartmentId(String compartmentId)
The OCID for
the compartment.
|
ServiceEnvironment.Builder |
consoleUrl(String consoleUrl)
The URL for the console.
|
ServiceEnvironment.Builder |
copy(ServiceEnvironment model) |
ServiceEnvironment.Builder |
id(String id)
Unqiue identifier for the entitlement related to the environment.
|
ServiceEnvironment.Builder |
serviceDefinition(ServiceDefinition serviceDefinition) |
ServiceEnvironment.Builder |
serviceEnvironmentEndpoints(List<ServiceEnvironmentEndPointOverview> serviceEnvironmentEndpoints)
Array of service environment end points.
|
ServiceEnvironment.Builder |
status(ServiceEntitlementRegistrationStatus status)
Status of the entitlement registration for the service.
|
ServiceEnvironment.Builder |
subscriptionId(String subscriptionId)
The unique subscription ID associated with the service environment ID.
|
public ServiceEnvironment.Builder id(String id)
Unqiue identifier for the entitlement related to the environment.
*Note:** Not an [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
id
- the value to setpublic ServiceEnvironment.Builder subscriptionId(String subscriptionId)
The unique subscription ID associated with the service environment ID.
*Note:** Not an [OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
subscriptionId
- the value to setpublic ServiceEnvironment.Builder status(ServiceEntitlementRegistrationStatus status)
Status of the entitlement registration for the service.
status
- the value to setpublic ServiceEnvironment.Builder compartmentId(String compartmentId)
The OCID for the compartment.
compartmentId
- the value to setpublic ServiceEnvironment.Builder serviceDefinition(ServiceDefinition serviceDefinition)
public ServiceEnvironment.Builder consoleUrl(String consoleUrl)
The URL for the console.
consoleUrl
- the value to setpublic ServiceEnvironment.Builder serviceEnvironmentEndpoints(List<ServiceEnvironmentEndPointOverview> serviceEnvironmentEndpoints)
Array of service environment end points.
serviceEnvironmentEndpoints
- the value to setpublic ServiceEnvironment build()
public ServiceEnvironment.Builder copy(ServiceEnvironment model)
Copyright © 2016–2024. All rights reserved.