Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class DomainInfo

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.DomainInfo
All Implemented Interfaces:
Serializable

public class DomainInfo
extends Object
implements Serializable

Contains general information about a domain.

See Also:
Serialized Form

Constructor Summary
DomainInfo()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          The description of the domain provided through RegisterDomain.
 String getName()
          The name of the domain.
 String getStatus()
          The status of the domain: REGISTERED: The domain is properly registered and available.
 int hashCode()
           
 void setDescription(String description)
          The description of the domain provided through RegisterDomain.
 void setName(String name)
          The name of the domain.
 void setStatus(RegistrationStatus status)
          The status of the domain: REGISTERED: The domain is properly registered and available.
 void setStatus(String status)
          The status of the domain: REGISTERED: The domain is properly registered and available.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DomainInfo withDescription(String description)
          The description of the domain provided through RegisterDomain.
 DomainInfo withName(String name)
          The name of the domain.
 DomainInfo withStatus(RegistrationStatus status)
          The status of the domain: REGISTERED: The domain is properly registered and available.
 DomainInfo withStatus(String status)
          The status of the domain: REGISTERED: The domain is properly registered and available.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DomainInfo

public DomainInfo()
Method Detail

getName

public String getName()
The name of the domain. This name is unique within the account.

Constraints:
Length: 1 - 256

Returns:
The name of the domain. This name is unique within the account.

setName

public void setName(String name)
The name of the domain. This name is unique within the account.

Constraints:
Length: 1 - 256

Parameters:
name - The name of the domain. This name is unique within the account.

withName

public DomainInfo withName(String name)
The name of the domain. This name is unique within the account.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256

Parameters:
name - The name of the domain. This name is unique within the account.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
The status of the domain:

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Returns:
The status of the domain:
  • REGISTERED: The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.
  • DEPRECATED: The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
See Also:
RegistrationStatus

setStatus

public void setStatus(String status)
The status of the domain:

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The status of the domain:
  • REGISTERED: The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.
  • DEPRECATED: The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
See Also:
RegistrationStatus

withStatus

public DomainInfo withStatus(String status)
The status of the domain:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The status of the domain:
  • REGISTERED: The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.
  • DEPRECATED: The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RegistrationStatus

setStatus

public void setStatus(RegistrationStatus status)
The status of the domain:

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The status of the domain:
  • REGISTERED: The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.
  • DEPRECATED: The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
See Also:
RegistrationStatus

withStatus

public DomainInfo withStatus(RegistrationStatus status)
The status of the domain:

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: REGISTERED, DEPRECATED

Parameters:
status - The status of the domain:
  • REGISTERED: The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.
  • DEPRECATED: The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
RegistrationStatus

getDescription

public String getDescription()
The description of the domain provided through RegisterDomain.

Constraints:
Length: 0 - 1024

Returns:
The description of the domain provided through RegisterDomain.

setDescription

public void setDescription(String description)
The description of the domain provided through RegisterDomain.

Constraints:
Length: 0 - 1024

Parameters:
description - The description of the domain provided through RegisterDomain.

withDescription

public DomainInfo withDescription(String description)
The description of the domain provided through RegisterDomain.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024

Parameters:
description - The description of the domain provided through RegisterDomain.
Returns:
A reference to this updated 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:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.