Package com.oracle.bmc.email.model
Class EmailOutboundIpSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.email.model.EmailOutboundIpSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public final class EmailOutboundIpSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelSummary of the Outbound IP address assigned to the tenancy.
Note: Objects should always be created or deserialized using theEmailOutboundIpSummary.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 theEmailOutboundIpSummary.Builder, which maintain a set of all explicitly set fields calledEmailOutboundIpSummary.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 classEmailOutboundIpSummary.AssignmentStateThe assignment state of the public IP address.static classEmailOutboundIpSummary.Builderstatic classEmailOutboundIpSummary.LifecycleStateThe current state of the Email Outbound Public IP.
-
Constructor Summary
Constructors Constructor Description EmailOutboundIpSummary(String outboundIp, EmailOutboundIpSummary.LifecycleState lifecycleState, String lifecycleDetails, EmailOutboundIpSummary.AssignmentState assignmentState)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmailOutboundIpSummary.Builderbuilder()Create a new builder.booleanequals(Object o)EmailOutboundIpSummary.AssignmentStategetAssignmentState()The assignment state of the public IP address.StringgetLifecycleDetails()A message describing the current state in more detail.EmailOutboundIpSummary.LifecycleStategetLifecycleState()The current state of the Email Outbound Public IP.StringgetOutboundIp()The public IP address assigned to the tenancy.inthashCode()EmailOutboundIpSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
EmailOutboundIpSummary
@Deprecated @ConstructorProperties({"outboundIp","lifecycleState","lifecycleDetails","assignmentState"}) public EmailOutboundIpSummary(String outboundIp, EmailOutboundIpSummary.LifecycleState lifecycleState, String lifecycleDetails, EmailOutboundIpSummary.AssignmentState assignmentState)
Deprecated.
-
-
Method Detail
-
builder
public static EmailOutboundIpSummary.Builder builder()
Create a new builder.
-
toBuilder
public EmailOutboundIpSummary.Builder toBuilder()
-
getOutboundIp
public String getOutboundIp()
The public IP address assigned to the tenancy.- Returns:
- the value
-
getLifecycleState
public EmailOutboundIpSummary.LifecycleState getLifecycleState()
The current state of the Email Outbound Public IP.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in ‘DRAINING’ state.
- Returns:
- the value
-
getAssignmentState
public EmailOutboundIpSummary.AssignmentState getAssignmentState()
The assignment state of the public IP address.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-