Class ActionGroup
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.fleetappsmanagement.model.ActionGroup
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public final class ActionGroup extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Action Group.
Note: Objects should always be created or deserialized using theActionGroup.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theActionGroup.Builder
, which maintain a set of all explicitly set fields calledActionGroup.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionGroup.Builder
-
Constructor Summary
Constructors Constructor Description ActionGroup(String resourceId, LifeCycleActionGroupType type, String applicationType, String product, String lifecycleOperation, String runbookId, String targetId, List<String> subjects)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActionGroup.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getApplicationType()
Application Type associated.String
getLifecycleOperation()
LifeCycle OperationString
getProduct()
Product associated.String
getResourceId()
Provide the ID of the resource.String
getRunbookId()
ID of the runbookList<String>
getSubjects()
Provide subjects that need to be considered for the schedule.String
getTargetId()
Provide the target if schedule is created against the targetLifeCycleActionGroupType
getType()
ActionGroup Type associated.int
hashCode()
ActionGroup.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ActionGroup
@Deprecated @ConstructorProperties({"resourceId","type","applicationType","product","lifecycleOperation","runbookId","targetId","subjects"}) public ActionGroup(String resourceId, LifeCycleActionGroupType type, String applicationType, String product, String lifecycleOperation, String runbookId, String targetId, List<String> subjects)
Deprecated.
-
-
Method Detail
-
builder
public static ActionGroup.Builder builder()
Create a new builder.
-
toBuilder
public ActionGroup.Builder toBuilder()
-
getResourceId
public String getResourceId()
Provide the ID of the resource.Example fleet ID.
- Returns:
- the value
-
getType
public LifeCycleActionGroupType getType()
ActionGroup Type associated.- Returns:
- the value
-
getApplicationType
public String getApplicationType()
Application Type associated.Only applicable if type is ENVIRONMENT.
- Returns:
- the value
-
getProduct
public String getProduct()
Product associated.Only applicable if type is PRODUCT.
- Returns:
- the value
-
getLifecycleOperation
public String getLifecycleOperation()
LifeCycle Operation- Returns:
- the value
-
getRunbookId
public String getRunbookId()
ID of the runbook- Returns:
- the value
-
getTargetId
public String getTargetId()
Provide the target if schedule is created against the target- Returns:
- the value
-
getSubjects
public List<String> getSubjects()
Provide subjects that need to be considered for the schedule.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-