Class ServiceProvider.Builder
- java.lang.Object
-
- com.oracle.bmc.delegateaccesscontrol.model.ServiceProvider.Builder
-
- Enclosing class:
- ServiceProvider
public static class ServiceProvider.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
id
public ServiceProvider.Builder id(String id)
Unique identifier for the Service Provider.- Parameters:
id
- the value to set- Returns:
- this builder
-
compartmentId
public ServiceProvider.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the Delegation Control.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
name
public ServiceProvider.Builder name(String name)
Unique name of the Service Provider.- Parameters:
name
- the value to set- Returns:
- this builder
-
description
public ServiceProvider.Builder description(String description)
Description of the Service Provider.- Parameters:
description
- the value to set- Returns:
- this builder
-
serviceProviderType
public ServiceProvider.Builder serviceProviderType(ServiceProvider.ServiceProviderType serviceProviderType)
Service Provider type.- Parameters:
serviceProviderType
- the value to set- Returns:
- this builder
-
serviceTypes
public ServiceProvider.Builder serviceTypes(List<ServiceProviderServiceType> serviceTypes)
Types of services offered by this provider.- Parameters:
serviceTypes
- the value to set- Returns:
- this builder
-
supportedResourceTypes
public ServiceProvider.Builder supportedResourceTypes(List<DelegationControlResourceType> supportedResourceTypes)
Resource types for which this provider will provide service.Default to all if not specified.
- Parameters:
supportedResourceTypes
- the value to set- Returns:
- this builder
-
lifecycleState
public ServiceProvider.Builder lifecycleState(ServiceProvider.LifecycleState lifecycleState)
The current lifecycle state of the Service Provider.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleStateDetails
public ServiceProvider.Builder lifecycleStateDetails(String lifecycleStateDetails)
Description of the current lifecycle state in more detail.- Parameters:
lifecycleStateDetails
- the value to set- Returns:
- this builder
-
timeCreated
public 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’
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public 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’
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
freeformTags
public 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"}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public 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"}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
systemTags
public 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"}}
- Parameters:
systemTags
- the value to set- Returns:
- this builder
-
build
public ServiceProvider build()
-
copy
public ServiceProvider.Builder copy(ServiceProvider model)
-
-