Package com.oracle.bmc.fusionapps.model
Class EnvironmentRole.Builder
- java.lang.Object
-
- com.oracle.bmc.fusionapps.model.EnvironmentRole.Builder
-
- Enclosing class:
- EnvironmentRole
public static class EnvironmentRole.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentRolebuild()EnvironmentRole.Buildercopy(EnvironmentRole model)EnvironmentRole.BuildercurrentRole(EnvironmentRole.CurrentRole currentRole)The current role of the environmentEnvironmentRole.BuilderstandbyEnvironmentId(String standbyEnvironmentId)Fusion Environment ID of the standby environmentEnvironmentRole.BuilderstandbyEnvironmentRegion(String standbyEnvironmentRegion)Region the standby environment is in
-
-
-
Method Detail
-
currentRole
public EnvironmentRole.Builder currentRole(EnvironmentRole.CurrentRole currentRole)
The current role of the environment- Parameters:
currentRole- the value to set- Returns:
- this builder
-
standbyEnvironmentRegion
public EnvironmentRole.Builder standbyEnvironmentRegion(String standbyEnvironmentRegion)
Region the standby environment is in- Parameters:
standbyEnvironmentRegion- the value to set- Returns:
- this builder
-
standbyEnvironmentId
public EnvironmentRole.Builder standbyEnvironmentId(String standbyEnvironmentId)
Fusion Environment ID of the standby environment- Parameters:
standbyEnvironmentId- the value to set- Returns:
- this builder
-
build
public EnvironmentRole build()
-
copy
public EnvironmentRole.Builder copy(EnvironmentRole model)
-
-