public static class ServiceProvider.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ServiceProvider |
build() |
ServiceProvider.Builder |
compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegation Control.
|
ServiceProvider.Builder |
copy(ServiceProvider model) |
ServiceProvider.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ServiceProvider.Builder |
description(String description)
Description of the Service Provider.
|
ServiceProvider.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ServiceProvider.Builder |
id(String id)
Unique identifier for the Service Provider.
|
ServiceProvider.Builder |
lifecycleState(ServiceProvider.LifecycleState lifecycleState)
The current lifecycle state of the Service Provider.
|
ServiceProvider.Builder |
lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.
|
ServiceProvider.Builder |
name(String name)
Unique name of the Service Provider.
|
ServiceProvider.Builder |
serviceProviderType(ServiceProvider.ServiceProviderType serviceProviderType)
Service Provider type.
|
ServiceProvider.Builder |
serviceTypes(List<ServiceProviderServiceType> serviceTypes)
Types of services offered by this provider.
|
ServiceProvider.Builder |
supportedResourceTypes(List<DelegationControlResourceType> supportedResourceTypes)
Resource types for which this provider will provide service.
|
ServiceProvider.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource.
|
ServiceProvider.Builder |
timeCreated(Date timeCreated)
Time when the Service Provider was created expressed in RFC
3339 timestamp format, e.g.
|
ServiceProvider.Builder |
timeUpdated(Date timeUpdated)
Time when the Service Provider was last modified expressed in RFC
3339 timestamp format, e.g.
|
public ServiceProvider.Builder id(String id)
Unique identifier for the Service Provider.
id
- the value to setpublic ServiceProvider.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegation Control.
compartmentId
- the value to setpublic ServiceProvider.Builder name(String name)
Unique name of the Service Provider.
name
- the value to setpublic ServiceProvider.Builder description(String description)
Description of the Service Provider.
description
- the value to setpublic ServiceProvider.Builder serviceProviderType(ServiceProvider.ServiceProviderType serviceProviderType)
Service Provider type.
serviceProviderType
- the value to setpublic ServiceProvider.Builder serviceTypes(List<ServiceProviderServiceType> serviceTypes)
Types of services offered by this provider.
serviceTypes
- the value to setpublic ServiceProvider.Builder supportedResourceTypes(List<DelegationControlResourceType> supportedResourceTypes)
Resource types for which this provider will provide service. Default to all if not specified.
supportedResourceTypes
- the value to setpublic ServiceProvider.Builder lifecycleState(ServiceProvider.LifecycleState lifecycleState)
The current lifecycle state of the Service Provider.
lifecycleState
- the value to setpublic ServiceProvider.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.
lifecycleStateDetails
- the value to setpublic ServiceProvider.Builder timeCreated(Date timeCreated)
Time when the Service Provider was created expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’
timeCreated
- the value to setpublic ServiceProvider.Builder timeUpdated(Date timeUpdated)
Time when the Service Provider was last modified expressed in RFC 3339 timestamp format, e.g. ‘2020-05-22T21:10:29.600Z’
timeUpdated
- the value to setpublic ServiceProvider.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 ServiceProvider.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 ServiceProvider.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ServiceProvider build()
public ServiceProvider.Builder copy(ServiceProvider model)
Copyright © 2016–2024. All rights reserved.