Class CreateFlowLogsResult

java.lang.Object
com.amazonaws.services.ec2.model.CreateFlowLogsResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateFlowLogsResult extends Object implements Serializable, Cloneable

Contains the output of CreateFlowLogs.

See Also:
  • Constructor Details

    • CreateFlowLogsResult

      public CreateFlowLogsResult()
  • Method Details

    • getFlowLogIds

      public List<String> getFlowLogIds()

      The IDs of the flow logs.

      Returns:
      The IDs of the flow logs.
    • setFlowLogIds

      public void setFlowLogIds(Collection<String> flowLogIds)

      The IDs of the flow logs.

      Parameters:
      flowLogIds - The IDs of the flow logs.
    • withFlowLogIds

      public CreateFlowLogsResult withFlowLogIds(String... flowLogIds)

      The IDs of the flow logs.

      NOTE: This method appends the values to the existing list (if any). Use setFlowLogIds(java.util.Collection) or withFlowLogIds(java.util.Collection) if you want to override the existing values.

      Parameters:
      flowLogIds - The IDs of the flow logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withFlowLogIds

      public CreateFlowLogsResult withFlowLogIds(Collection<String> flowLogIds)

      The IDs of the flow logs.

      Parameters:
      flowLogIds - The IDs of the flow logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setClientToken

      public void setClientToken(String clientToken)

      Unique, case-sensitive identifier you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
    • getClientToken

      public String getClientToken()

      Unique, case-sensitive identifier you provide to ensure the idempotency of the request.

      Returns:
      Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
    • withClientToken

      public CreateFlowLogsResult withClientToken(String clientToken)

      Unique, case-sensitive identifier you provide to ensure the idempotency of the request.

      Parameters:
      clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getUnsuccessful

      public List<UnsuccessfulItem> getUnsuccessful()

      Information about the flow logs that could not be created successfully.

      Returns:
      Information about the flow logs that could not be created successfully.
    • setUnsuccessful

      public void setUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)

      Information about the flow logs that could not be created successfully.

      Parameters:
      unsuccessful - Information about the flow logs that could not be created successfully.
    • withUnsuccessful

      public CreateFlowLogsResult withUnsuccessful(UnsuccessfulItem... unsuccessful)

      Information about the flow logs that could not be created successfully.

      NOTE: This method appends the values to the existing list (if any). Use setUnsuccessful(java.util.Collection) or withUnsuccessful(java.util.Collection) if you want to override the existing values.

      Parameters:
      unsuccessful - Information about the flow logs that could not be created successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withUnsuccessful

      public CreateFlowLogsResult withUnsuccessful(Collection<UnsuccessfulItem> unsuccessful)

      Information about the flow logs that could not be created successfully.

      Parameters:
      unsuccessful - Information about the flow logs that could not be created successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public CreateFlowLogsResult clone()
      Overrides:
      clone in class Object